This is the multi-page printable view of this section. Click here to print.
Auth
1 - pcloud auth
Authorization for pcloud
Synopsis
Commands to authorize pcloud.
Possibility to login, print-access-token, print-identity-token, revoke.
Before you can start using the pcloud tool, you must have an available Power Cloud instance that is provisioned and attached to a selected GCP project within your organization. This process occurs when you subscribe to the offering in the GCP Marketplace. Next, run the “pcloud auth login” command to authenticate to your cloud instance. When you authenticate, you must use the registered Google identity that is associated with the organization and the billing account that is used in the subscription. Running the “pcloud auth login” command provides ou with a unique code to register your pcloud instance.
pcloud auth [flags]
Options
-h, --help help for auth
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud - CLI for IBM® Power Systems™ for GCP
- pcloud auth login - Login for pcloud
- pcloud auth print-access-token - Print access token
- pcloud auth print-identity-token - Print identity token
- pcloud auth revoke - Revoke credentials for pcloud
- pcloud auth sa - System Account Commands
2 - pcloud auth login
Login for pcloud
Synopsis
Login for pcloud. To prompt the user to login to pcloud with instructions.
pcloud auth login [flags]
Options
-h, --help help for login
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud auth - Authorization for pcloud
3 - pcloud auth print-access-token
Print access token
Synopsis
Print access token characteristics.
pcloud auth print-access-token [flags]
Options
-b, --bare print bare access token only
-h, --help help for print-access-token
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud auth - Authorization for pcloud
4 - pcloud auth print-identity-token
Print identity token
Synopsis
Print identity token characteristics.
pcloud auth print-identity-token [flags]
Options
-h, --help help for print-identity-token
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud auth - Authorization for pcloud
5 - pcloud auth revoke
Revoke credentials for pcloud
Synopsis
Revoke credentials for pcloud: effectively logout.
pcloud auth revoke [flags]
Options
-h, --help help for revoke
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud auth - Authorization for pcloud
6 - pcloud auth sa
System Account Commands
Synopsis
System Account Commands
pcloud auth sa [flags]
Options
-h, --help help for sa
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud auth - Authorization for pcloud
- pcloud auth sa create - add a system account user
- pcloud auth sa delete - description
- pcloud auth sa describe - description
- pcloud auth sa list - description
- pcloud auth sa load - create a service account from json keyfile
- pcloud auth sa update - update an existing sa account
7 - pcloud auth sa create
add a system account user
Synopsis
add a system account user
pcloud auth sa create <sa-name> <sa-client-id> [--tenant=<tenant-id>] [--cloud=<cloud-id>] [flags]
Options
-c, --cloud stringArray Cloud ID
-h, --help help for create
-t, --tenant stringArray Tenant ID
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud auth sa - System Account Commands
8 - pcloud auth sa delete
description
Synopsis
description
pcloud auth sa delete <sa-client-id> [flags]
Options
-h, --help help for delete
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud auth sa - System Account Commands
9 - pcloud auth sa describe
description
Synopsis
description
pcloud auth sa describe <sa-client-id> [flags]
Options
-h, --help help for describe
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud auth sa - System Account Commands
10 - pcloud auth sa list
description
Synopsis
description
pcloud auth sa list usage [flags]
Options
-h, --help help for list
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud auth sa - System Account Commands
11 - pcloud auth sa load
create a service account from json keyfile
Synopsis
create a service account from json keyfile
pcloud auth sa load <key.json> [flags]
Options
-h, --help help for load
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud auth sa - System Account Commands
12 - pcloud auth sa update
update an existing sa account
Synopsis
update an existing sa account
pcloud auth sa update <sa-client-id> [-name=<name>] [-tenant=<tenant-id>] [-cloud=<cloud-id>] [flags]
Options
-c, --cloud stringArray Cloud ID
-h, --help help for update
-n, --name string SA Account Name
-t, --tenant stringArray Tenant ID
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud auth sa - System Account Commands