ReadonlyaccountAccount to create the key for.
Optional ReadonlybucketOptional bucket restriction. When set, the key only grants access to this bucket.
ReadonlycapabilitiesCapabilities to grant to the new key.
ReadonlykeyHuman-readable name for the key (must be unique within the account).
Optional ReadonlynameOptional file name prefix restriction. When set, the key only grants access to files with this prefix.
Optional ReadonlyvalidOptional duration in seconds before the key expires. Omit for a key that never expires.
Request parameters for the
b2_create_keyAPI call. Creates a new application key.