- Print
- DarkLight
Key Create Command
- Print
- DarkLight
V4.0.2
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --all-capabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --name-prefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 key create [-h] [--bucket BUCKET] [--name-prefix NAME_PREFIX]
[--duration DURATION] [--all-capabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --name-prefix
- --duration
- --all-capabilities
Default: False
V4.0.1
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --all-capabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --name-prefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 key create [-h] [--bucket BUCKET] [--name-prefix NAME_PREFIX]
[--duration DURATION] [--all-capabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --name-prefix
- --duration
- --all-capabilities
Default: False
V4.0.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --all-capabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --name-prefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 key create [-h] [--bucket BUCKET] [--name-prefix NAME_PREFIX]
[--duration DURATION] [--all-capabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --name-prefix
- --duration
- --all-capabilities
Default: False
V3.19.1
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --all-capabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --name-prefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--name-prefix NAME_PREFIX]
[--duration DURATION] [--all-capabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --name-prefix
- --duration
- --all-capabilities
Default: False
V3.19.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --all-capabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --name-prefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--name-prefix NAME_PREFIX]
[--duration DURATION] [--all-capabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --name-prefix
- --duration
- --all-capabilities
Default: False
V3.18.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --all-capabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --name-prefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--name-prefix NAME_PREFIX]
[--duration DURATION] [--all-capabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --name-prefix
- --duration
- --all-capabilities
Default: False
V3.17.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION] [--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.16.1
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION] [--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.16.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION] [--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.15.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION] [--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.14.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION] [--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.13.1
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION] [--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.13.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION] [--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.12.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION] [--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.9.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--profile PROFILE] [--bucket BUCKET]
[--namePrefix NAMEPREFIX] [--duration DURATION]
[--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --profile
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.8.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--profile PROFILE] [--bucket BUCKET]
[--namePrefix NAMEPREFIX] [--duration DURATION]
[--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --profile
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.7.1
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--profile PROFILE] [--bucket BUCKET]
[--namePrefix NAMEPREFIX] [--duration DURATION]
[--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --profile
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.7.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--profile PROFILE] [--bucket BUCKET]
[--namePrefix NAMEPREFIX] [--duration DURATION]
[--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --profile
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.6.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--profile PROFILE] [--bucket BUCKET]
[--namePrefix NAMEPREFIX] [--duration DURATION]
[--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --profile
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.5.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--profile PROFILE] [--bucket BUCKET]
[--namePrefix NAMEPREFIX] [--duration DURATION]
[--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --profile
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.4.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--profile PROFILE] [--bucket BUCKET]
[--namePrefix NAMEPREFIX] [--duration DURATION]
[--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --profile
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.3.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--profile PROFILE] [--bucket BUCKET]
[--namePrefix NAMEPREFIX] [--duration DURATION]
[--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --profile
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.2.1
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION] [--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.2.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION] [--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.1.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
. Optionally, you can pass all of the capabilities that are known to this client using the --allCapabilities
parameter.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION] [--allCapabilities]
keyName [capabilities]
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
- --allCapabilities
Default: False
V3.0.3
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION]
keyName capabilities
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
V3.0.2
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION]
keyName capabilities
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
V3.0.1
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION]
keyName capabilities
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
V3.0.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION]
keyName capabilities
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
V2.5.1
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION]
keyName capabilities
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
V2.5.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION]
keyName capabilities
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
V2.4.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION]
keyName capabilities
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
V2.3.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION]
keyName capabilities
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
V2.2.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION]
keyName capabilities
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
V2.1.0
This command prints application key information.
This is the only time that the application key itself is returned. Listing application keys returns their IDs, but it does not return the secret keys.
The capabilities of this command are passed as a comma-separated list, for example, readFiles,writeFiles
.
The --duration
parameter is the length of time (in seconds) that the new application key will exist. When the time expires, the key disappears and is no longer usable. If you do not specify this parameter, the key does not expire.
The --bucket
parameter is the name of a bucket in the account. When specified, the key allows access only to that bucket.
The --namePrefix
parameter restricts file access to files with names that begin with the prefix.
The output is the new application key ID, followed by the application key itself. The two values that are returned are the two values that you pass to the Account Authorize command to use the key.
b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
[--duration DURATION]
keyName capabilities
Required Capabilities
- writeKeys
Positional Arguments
- keyName
- capabilities
Named Arguments
- --bucket
- --namePrefix
- --duration
Versions