metalcloud-cli storage credentials
Retrieve credentials for a storage pool
Synopsis
Section titled “Synopsis”Retrieve authentication credentials for a specific storage pool.
This command returns the credentials required to connect to and manage the storage pool. The credentials typically include connection information, authentication tokens, or access keys depending on the storage driver type.
Arguments: storage_id The numeric ID of the storage pool
Examples:
Get credentials for storage pool with ID 123
Section titled “Get credentials for storage pool with ID 123”metalcloud storage credentials 123
Get credentials and save to file
Section titled “Get credentials and save to file”metalcloud storage credentials 456 > storage-creds.json
metalcloud-cli storage credentials storage_id [flags]Options
Section titled “Options” -h, --help help for credentialsOptions inherited from parent commands
Section titled “Options inherited from parent commands” -k, --api_key string MetalCloud API key -c, --config string Config file path -d, --debug Set to enable debug logging -e, --endpoint string MetalCloud API endpoint -f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text") -i, --insecure_skip_verify Set to allow insecure transport -l, --log_file string Log file path -v, --verbosity string Log level verbosity (default "INFO")SEE ALSO
Section titled “SEE ALSO”- metalcloud-cli storage - Manage storage pools and related resources