B2AppKey Type
A Backblaze B2 application key.
Remarks
This type represents a Backblaze B2 application key.
Fields
AllowedBucketId String |
The Id of the bucket that the application key is restricted to. This property reflects the Id of the bucket that the application key is restricted to. It will be empty if the application key is not restricted to any specific bucket. | ||||||||||||||||||||||||
AllowedPrefix String |
The file name prefix that the application key is restricted to. This property reflects the file name prefix that the application key is restricted to. It will be empty if the application key is not restricted to a specific file name prefix. | ||||||||||||||||||||||||
Capabilities String |
The capabilities that the application key has. This property reflects the capabilities that the application key has. It is formatted as a comma-separated list of one or more of the following:
| ||||||||||||||||||||||||
ExpirationTime Int64 |
The application key's expiration time. This property reflects the expiration time of the application key, in milliseconds relative to the Unix epoch. It will be -1 if the application key does not expire. | ||||||||||||||||||||||||
KeyId String |
The Id of the application key. This property reflects the unique Id of the application key. | ||||||||||||||||||||||||
Name String |
The name of the application key. This property reflects the name assigned to the application key when it was created. Application key names are not used for identification, so there is no requirement for them to be unique. |