-
Notifications
You must be signed in to change notification settings - Fork 4
generated documentation
OTC-Auth Command Line Interface for managing OTC clouds
otc-auth [command] [global flags] [command flags]
--alsologtostderr log to standard error as well as files
--log_backtrace_at traceLocations when logging hits line file:N, emit a stack trace
--log_dir string If non-empty, write log files in this directory
--log_link string If non-empty, add symbolic links in this directory to the log files
--logbuflevel int Buffer log messages logged at this level or lower (-1 means don't buffer; 0 means buffer INFO only; ...). Has limited applicability on non-prod platforms.
--logtostderr log to standard error instead of files
--skip-tls-verification Skip TLS Verification. This is insecure. Either provide this argument or set the environment variable SKIP_TLS_VERIFICATION
--stderrthreshold severityFlag logs at or above this threshold go to stderr (default 2)
-v, --v Level log level for V logs
--vmodule vModuleFlag comma-separated list of pattern=N settings for file-filtered logging
- otc-auth access-token
- otc-auth access-token create
- otc-auth access-token delete
- otc-auth access-token help
- otc-auth access-token list
- otc-auth cce
- otc-auth cce get-kube-config
- otc-auth cce help
- otc-auth cce list
- otc-auth completion
- otc-auth documentation
- otc-auth help
- otc-auth login
- otc-auth login help
- otc-auth login iam
- otc-auth login idp-oidc
- otc-auth login idp-saml
- otc-auth login remove
- otc-auth openstack
- otc-auth openstack config-create
- otc-auth openstack help
- otc-auth projects
- otc-auth projects help
- otc-auth projects list
- otc-auth temp-access-token
- otc-auth temp-access-token create
- otc-auth temp-access-token help
Manage AK/SK
otc-auth access-token [flags]
-h, --help help for access-token
-d, --os-domain-name string OTC domain name. Either provide this argument or set the environment variable OS_DOMAIN_NAME
Create new AK/SK
otc-auth access-token create [flags]
-s, --description string Description of the token (default "Token by otc-auth")
-h, --help help for create
-o, --output Output contents of what would be written to ak-sk-env.sh to stdout instead
Delete existing AK/SKs
otc-auth access-token delete [flags]
-h, --help help for delete
-t, --token string The AK/SK token to delete
Help about any command
otc-auth access-token help [command] [flags]
-h, --help help for help
List existing AK/SKs
otc-auth access-token list [flags]
-h, --help help for list
Manage Cloud Container Engine
otc-auth cce [flags]
-h, --help help for cce
-d, --os-domain-name string OTC domain name. Either provide this argument or set the environment variable OS_DOMAIN_NAME
-p, --os-project-name string Name of the project you want to access. Either provide this argument or set the environment variable OS_PROJECT_NAME
Get remote kube config and merge it with existing local config file
otc-auth cce get-kube-config [flags]
-c, --cluster string Name of the clusterArg you want to access. Either provide this argument or set the environment variable CLUSTER_NAME
--days-valid int Period (in days) that the config will be valid (default 7)
-h, --help help for get-kube-config
-o, --output Output fetched kube config to stdout instead of merging it with your existing kube config
-s, --server string Override the server attribute in the kube config with the specified value
--skip-kube-tls Setting this adds the insecure-skip-tls-verify rule to the config for every cluster
-l, --target-location string Where the kube config should be saved (default "~/.kube/config")
Help about any command
otc-auth cce help [command] [flags]
-h, --help help for help
Lists Project Clusters in CCE
otc-auth cce list [flags]
-h, --help help for list
To load completions:
Bash:
$ source <(otc-auth completion bash)
# To load completions for each session, execute once:
# Linux:
$ otc-auth completion bash > /etc/bash_completion.d/otc-auth
# macOS:
$ otc-auth completion bash > $(brew --prefix)/etc/bash_completion.d/otc-auth
Zsh:
# If shell completion is not already enabled in your environment,
# you will need to enable it. You can execute the following once:
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
# To load completions for each session, execute once:
$ otc-auth completion zsh > "${fpath[1]}/_otc-auth"
# You will need to start a new shell for this setup to take effect.
fish:
$ otc-auth completion fish | source
# To load completions for each session, execute once:
$ otc-auth completion fish > ~/.config/fish/completions/otc-auth.fish
PowerShell:
PS> otc-auth completion powershell | Out-String | Invoke-Expression
# To load completions for every new session, run:
PS> otc-auth completion powershell > otc-auth.ps1
# and source this file from your PowerShell profile.
otc-auth completion [bash|zsh|fish|powershell]
-h, --help help for completion
Generates markdown documentation
otc-auth documentation [flags]
-h, --help help for documentation
Help about any command
otc-auth help [command] [flags]
-h, --help help for help
Login to the Open Telekom Cloud and receive an unscoped token
otc-auth login [flags]
-h, --help help for login
Help about any command
otc-auth login help [command] [flags]
-h, --help help for help
Login to the Open Telekom Cloud through its Identity and Access Management system and receive an unscoped token
otc-auth login iam [flags]
-h, --help help for iam
-d, --os-domain-name string OTC domain name. Either provide this argument or set the environment variable OS_DOMAIN_NAME
-p, --os-password string Password for the OTC IAM system. Either provide this argument or set the environment variable OS_PASSWORD
--os-user-domain-id string User Id number, can be obtained on the "My Credentials page" on the OTC. Required if --totp is provided. Either provide this argument or set the environment variable OS_USER_DOMAIN_ID
-u, --os-username string Username for the OTC IAM system. Either provide this argument or set the environment variable OS_USERNAME
-o, --overwrite-token Overrides .otc-info file
-r, --region string OTC region code. Either provide this argument or set the environment variable REGION
-t, --totp string 6-digit time-based one-time password (TOTP) used for the MFA login flow. Needs to be used in conjunction with the os-user-domain-id flag or the OS_USER_DOMAIN_ID environment variable
Login to the Open Telekom Cloud through an Identity Provider and OIDC and receive an unscoped token
otc-auth login idp-oidc [flags]
-c, --client-id string Client ID as set on the IdP. Either provide this argument or set the environment variable CLIENT_ID
-s, --client-secret string Secret ID as set on the IdP. Either provide this argument or set the environment variable CLIENT_SECRET
-h, --help help for idp-oidc
-i, --idp-name string Required for authentication with IdP
--idp-url string Required for authentication with IdP
--oidc-scopes strings Flag to set the scopes which are expected from the OIDC request. Either provide this argument or set the environment variable OIDC_SCOPES (default [openid])
-d, --os-domain-name string OTC domain name. Either provide this argument or set the environment variable OS_DOMAIN_NAME
-o, --overwrite-token Overrides .otc-info file
-r, --region string OTC region code. Either provide this argument or set the environment variable REGION
Login to the Open Telekom Cloud through an Identity Provider and SAML and receive an unscoped token
otc-auth login idp-saml [flags]
-h, --help help for idp-saml
-i, --idp-name string Required for authentication with IdP
--idp-url string Required for authentication with IdP
-d, --os-domain-name string OTC domain name. Either provide this argument or set the environment variable OS_DOMAIN_NAME
-p, --os-password string Password for the OTC IAM system. Either provide this argument or set the environment variable OS_PASSWORD
-u, --os-username string Username for the OTC IAM system. Either provide this argument or set the environment variable OS_USERNAME
-o, --overwrite-token Overrides .otc-info file
-r, --region string OTC region code. Either provide this argument or set the environment variable REGION
Removes login information for a cloud
otc-auth login remove [flags]
-h, --help help for remove
-d, --os-domain-name string OTC domain name. Either provide this argument or set the environment variable OS_DOMAIN_NAME
Manage Openstack Integration
otc-auth openstack [flags]
-h, --help help for openstack
Creates new clouds.yaml
otc-auth openstack config-create [flags]
-l, --config-location string Where the config should be saved (default "~/.config/openstack/clouds.yaml")
-h, --help help for config-create
Help about any command
otc-auth openstack help [command] [flags]
-h, --help help for help
Manage Project Information
otc-auth projects [flags]
-h, --help help for projects
Help about any command
otc-auth projects help [command] [flags]
-h, --help help for help
List Projects in Active Cloud
otc-auth projects list [flags]
-h, --help help for list
Manage AK/SK
otc-auth temp-access-token [flags]
-h, --help help for temp-access-token
-d, --os-domain-name string OTC domain name. Either provide this argument or set the environment variable OS_DOMAIN_NAME
Manage temporary AK/SK
otc-auth temp-access-token create [flags]
-t, --duration-seconds int The token's lifetime, in seconds. Valid times are between 900 and 86400 seconds (default 900)
-h, --help help for create
-o, --output Output contents of what would be written to ak-sk-env.sh to stdout instead
Help about any command
otc-auth temp-access-token help [command] [flags]
-h, --help help for help