AnyCloud
Search…
Credentials
AnyCloud supports managing multiple cloud Credentials via the anycloud credentials CLI command. The Credentials are stored in a local file that is not committed to any repository located at ~/.anycloud/credentials.json. AnyCloud supports Credentials for AWS, GCP and Azure. Each Credentials has a name, or alias, to refer to it within the Deploy Configs. This allows you to, for example, create credentials for your personal AWS and GCP accounts as well as for a company's AWS account and use each of them to create separate Deploy Configs for different Apps or create a multi region/cloud Deploy Config for the same App.

AWS

An AWS Credentials consists of an accessKeyId and secretAccessKey from an IAM user with an AmazonEC2FullAccess policy attached.
1
$ anycloud credentials add
2
Pick cloud provider for the new Credentials:
3
> AWS
4
GCP
5
Azure
6
Name for new Credentials: mystartup-aws
7
AWS Access Key ID: ******************
8
AWS Secret Access Key: ******************
9
Successfully created "mystartup-aws" Credentials
Copied!

GCP

A GCP Credentials consists of an privateKey and clientEmail that come from a service account with the Compute Engine Admin role and the projectId in which the service account is contained.
1
$ anycloud credentials add
2
Pick cloud provider for the new Credentials:
3
AWS
4
> GCP
5
Azure
6
Credential Name: mystartup-gcp
7
GCP Project ID: my-gcp-project
8
GCP Client Email: *******[email protected]
9
GCP Private Key: -----BEGIN PRIVATE KEY-----\*****\n-----END PRIVATE KEY-----\n
10
Successfully created "mystartup-gcp" Credentials
Copied!

Azure

An Azure Credentials consists of the directoryId that belongs to the Azure Active Directory, the applicationId and secret of the application and service principal, and the subscriptionId of the billing subscription.
1
$ anycloud credentials add
2
Pick cloud provider for the new Credentials:
3
AWS
4
GCP
5
> Azure
6
Credentials Name: mystartup-azure
7
Azure Application ID: ********-****-****-****-************
8
Azure Directory ID: ********-****-****-****-************
9
Azure Subscription ID: ********-****-****-****-************
10
Azure Secret: **********************************
11
Successfully created "mystartup-gcp" Credential
Copied!
Last modified 6mo ago
Copy link
Contents
AWS
GCP
Azure