| 1 |
# Licensed to the Apache Software Foundation (ASF) under one or more |
| 2 |
# contributor license agreements. See the NOTICE file distributed with |
| 3 |
# this work for additional information regarding copyright ownership. |
| 4 |
# The ASF licenses this file to You under the Apache License, Version 2.0 |
| 5 |
# (the "License"); you may not use this file except in compliance with |
| 6 |
# the License. You may obtain a copy of the License at |
| 7 |
# |
| 8 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
# |
| 10 |
# Unless required by applicable law or agreed to in writing, software |
| 11 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 |
# See the License for the specific language governing permissions and |
| 14 |
# limitations under the License. |
| 15 |
|
| 16 |
# Make a copy of this file named 'secrets.py' and add your credentials there. |
| 17 |
# Note you can run unit tests without setting your credentials. |
| 18 |
|
| 19 |
BRIGHTBOX_PARAMS = ('client_id', 'client_secret') |
| 20 |
EC2_PARAMS = ('access_id', 'secret') |
| 21 |
GANDI_PARAMS = ('user',) |
| 22 |
GCE_PARAMS = ('[email protected]', 'key') # Service Account Authentication |
| 23 |
# GCE_PARAMS = ('client_id', 'client_secret') # Installed App Authentication |
| 24 |
GCE_KEYWORD_PARAMS = {'project': 'project_name'} |
| 25 |
GKE_PARAMS = ('[email protected]', 'key') # Service Account Authentication |
| 26 |
# GKE_PARAMS = ('client_id', 'client_secret') # Installed App Authentication |
| 27 |
GKE_KEYWORD_PARAMS = {'project': 'project_name'} |
| 28 |
|
| 29 |
HOSTINGCOM_PARAMS = ('user', 'secret') |
| 30 |
IBM_PARAMS = ('user', 'secret') |
| 31 |
ONAPP_PARAMS = ('key') |
| 32 |
# OPENSTACK_PARAMS = ('user_name', 'api_key', secure_bool, 'host', port_int) |
| 33 |
OPENSTACK_PARAMS = ('user_name', 'api_key', False, 'host', 8774) |
| 34 |
OPENNEBULA_PARAMS = ('user', 'key') |
| 35 |
DIMENSIONDATA_PARAMS = ('user', 'password') |
| 36 |
NTTCIS_PARAMS = ('user', 'password') |
| 37 |
OPSOURCE_PARAMS = ('user', 'password') |
| 38 |
OVH_PARAMS = ('application_key', 'application_secret', 'project_id', 'consumer_key') |
| 39 |
RACKSPACE_PARAMS = ('user', 'key') |
| 40 |
RACKSPACE_NOVA_PARAMS = ('user_name', 'api_key', False, 'host', 8774) |
| 41 |
SLICEHOST_PARAMS = ('key',) |
| 42 |
SCALEWAY_PARAMS = ('access_key', 'token') |
| 43 |
VCLOUD_PARAMS = ('user', 'secret') |
| 44 |
VPSNET_PARAMS = ('user', 'key') |
| 45 |
VCL_PARAMS = ('user', 'pass', True, 'foo.bar.com') |
| 46 |
DIGITALOCEAN_v1_PARAMS = ('user', 'key') |
| 47 |
DIGITALOCEAN_v2_PARAMS = ('token',) |
| 48 |
CLOUDFRAMES_PARAMS = ('key', 'secret', False, 'host', 8888) |
| 49 |
VULTR_PARAMS = ('key') |
| 50 |
EQUINIXMETAL_PARAMS = ('api_key') |
| 51 |
ECS_PARAMS = ('access_key', 'access_secret') |
| 52 |
CLOUDSCALE_PARAMS = ('token',) |
| 53 |
UPCLOUD_PARAMS = ('user', 'secret') |
| 54 |
GRIDSCALE_PARAMS = ('user uuid', 'api token') |
| 55 |
KAMATERA_PARAMS = ('key', 'secret', False, 'localhost', 8000) |
| 56 |
|
| 57 |
# Storage |
| 58 |
STORAGE_S3_PARAMS = ('key', 'secret') |
| 59 |
STORAGE_OSS_PARAMS = ('key', 'secret') |
| 60 |
# Google key = 20 char alphanumeric string starting with GOOG |
| 61 |
STORAGE_GOOGLE_STORAGE_PARAMS = ('GOOG0123456789ABCXYZ', 'secret') |
| 62 |
|
| 63 |
# Azure key is b64 encoded and must be decoded before signing requests |
| 64 |
STORAGE_AZURE_BLOBS_PARAMS = ('account', 'cGFzc3dvcmQ=') |
| 65 |
STORAGE_AZURITE_BLOBS_PARAMS = ('account', 'cGFzc3dvcmQ=', False, 'localhost', 10000) |
| 66 |
|
| 67 |
# Loadbalancer |
| 68 |
LB_BRIGHTBOX_PARAMS = ('user', 'key') |
| 69 |
LB_ELB_PARAMS = ('access_id', 'secret', 'region') |
| 70 |
LB_ALB_PARAMS = ('access_id', 'secret', 'region') |
| 71 |
LB_SLB_PARAMS = ('access_id', 'secret', 'region') |
| 72 |
|
| 73 |
# DNS |
| 74 |
DNS_PARAMS_LINODE = ('key') |
| 75 |
DNS_KEYWORD_PARAMS_LINODE = {'api_version': '3.0'} |
| 76 |
DNS_PARAMS_ZERIGO = ('email', 'api token') |
| 77 |
DNS_PARAMS_RACKSPACE = ('user', 'key') |
| 78 |
DNS_PARAMS_ROUTE53 = ('access_id', 'secret') |
| 79 |
DNS_GANDI = ('user', ) |
| 80 |
DNS_GANDI_LIVE = ('key', ) |
| 81 |
DNS_PARAMS_GOOGLE = ('email_address', 'key') |
| 82 |
DNS_KEYWORD_PARAMS_GOOGLE = {'project': 'project_name'} |
| 83 |
DNS_PARAMS_WORLDWIDEDNS = ('user', 'key') |
| 84 |
DNS_PARAMS_DNSIMPLE = ('user', 'key') |
| 85 |
DNS_PARAMS_POINTDNS = ('user', 'key') |
| 86 |
DNS_PARAMS_LIQUIDWEB = ('user', 'key') |
| 87 |
DNS_PARAMS_ZONOMI = ('key') |
| 88 |
DNS_PARAMS_DURABLEDNS = ('api_user', 'api_key') |
| 89 |
DNS_PARAMS_GODADDY = ('customer-id', 'api_user', 'api_key') |
| 90 |
DNS_PARAMS_CLOUDFLARE = ('[email protected]', 'key') |
| 91 |
DNS_PARAMS_AURORADNS = ('apikey', 'secretkey') |
| 92 |
DNS_PARAMS_NSONE = ('key', ) |
| 93 |
DNS_PARAMS_LUADNS = ('user', 'key') |
| 94 |
DNS_PARAMS_BUDDYNS = ('key', ) |
| 95 |
DNS_PARAMS_DNSPOD = ('key', ) |
| 96 |
DNS_PARAMS_ONAPP = ('key', 'secret') |
| 97 |
|
| 98 |
# Container |
| 99 |
CONTAINER_PARAMS_DOCKER = ('user', 'password') |
| 100 |
CONTAINER_PARAMS_ECS = ('user', 'password', 'region') |
| 101 |
CONTAINER_PARAMS_KUBERNETES = ('user', 'password') |
| 102 |
|
| 103 |
CONTAINER_PARAMS_LXD = ("", "", False, 'localhost', 8443, None, None, None) |
| 104 |
CONTAINER_PARAMS_RANCHER = ('user', 'password') |
| 105 |
CONTAINER_PARAMS_GKE = ('user', 'password') |