Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Command performs the "update organization set-credentials" function Command = &cobra.Command{ Use: "set-credentials", Aliases: []string{"sc"}, Short: "Set credentials of an organization", Long: `Set the credentials used to create and operate the clusters of an organization. Setting credentials of an organization will result in all future clusters being run in the account/subscription referenced by the credentials. Once credentials are set for an organization, this currently cannot be undone. For details on how to prepare the account/subscription, consult the documentation at - https://docs.giantswarm.io/getting-started/cloud-provider-accounts/aws/ (AWS) - https://docs.giantswarm.io/getting-started/cloud-provider-accounts/azure/ (Azure) `, Example: ` gsctl update organization set-credentials -o acme \ --aws-operator-role arn:aws:iam::<AWS-ACCOUNT-ID>:role/GiantSwarmAWSOperator \ --aws-admin-role arn:aws:iam::<AWS-ACCOUNT-ID>:role/GiantSwarmAdmin gsctl update organization set-credentials -o acme \ --azure-subscription-id <AZURE-SUBSCRIPTION-ID> \ --azure-tenant-id <AZURE-TENANT-ID> \ --azure-client-id <AZURE-CLIENT-ID> \ --azure-secret-key <AZURE-SECRET-KEY> `, PreRun: printValidation, Run: printResult, } )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.