Skip to content

metalcloud-cli storage credentials

Retrieve credentials for a storage pool

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

metalcloud storage credentials 456 > storage-creds.json

metalcloud-cli storage credentials storage_id [flags]
-h, --help help for credentials
-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")

Auto generated by spf13/cobra on 11-Aug-2025

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”