Skip to content

tebib key

Generated from the CLI's own command tree. Run tebib key --help for the same text in your terminal.

Access keys: credentials for the CLI and the API.

Commands

tebib key create

Create an access key and print its secret (shown only now).

tebib key create [OPTIONS]
OptionValueDescription
--descriptionstrWhat uses the key.
--expiresstrExpiry, ISO 8601 with a time zone, e.g. 2027-01-31T00:00:00Z (default: 90 days; at most 365 days ahead).
--never-expiresflagService-account keys only; needs iam:CreateNonExpiringAccessKey (OrgOwner).
--allowCIDR (repeatable)Only accept requests from this CIDR (repeatable).
--userUSER_IDA user's keys (u-...).
--service-accountSA_IDA service account's keys (sa-...).
--orgstrOrganization ID (default: from the profile).
--output, -otable | json | yamlOutput format.

Examples

tebib key create --description "CI" --allow 203.0.113.0/24 # your own key; secret shown once
tebib key create --service-account sa-... --expires 2027-01-31T00:00:00Z
tebib key create --service-account sa-... --never-expires # OrgOwner only; keys default to 90 days

tebib key delete

Delete an access key (anything using it stops working).

tebib key delete [OPTIONS] KEY_ID
ArgumentDescription
KEY_ID requiredAccess key ID (TBK...).
OptionValueDescription
--userUSER_IDA user's keys (u-...).
--service-accountSA_IDA service account's keys (sa-...).
--orgstrOrganization ID (default: from the profile).
--yes, -yflagDon't ask for confirmation.

tebib key list

List access keys (yours by default).

tebib key list [OPTIONS]
OptionValueDescription
--userUSER_IDA user's keys (u-...).
--service-accountSA_IDA service account's keys (sa-...).
--orgstrOrganization ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib key update

Change a key's description or turn it on/off.

tebib key update [OPTIONS] KEY_ID
ArgumentDescription
KEY_ID requiredAccess key ID (TBK...).
OptionValueDescription
--descriptionstrNew description.
--activate, --deactivateflagTurn the key on or off.
--userUSER_IDA user's keys (u-...).
--service-accountSA_IDA service account's keys (sa-...).
--orgstrOrganization ID (default: from the profile).
--output, -otable | json | yamlOutput format.