GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsCapTokenHolderProto
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
Represents a principal which possesses a particular secret string whose cryptographic hash is specified here. CapTokens ("Capability Tokens") are used in ACLProto. It's expected that ACLs with CapTokenHolders will strongly enforce them by Keystore-wrapping crypto keys for the corresponding CapTokens.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
tokenHmacSha1Prefix
(type:String.t
, default:nil
)
- The hash of the corresponding capability token. The value is defined to be identical to the one in acl.proto's CapTokenMetadata: 10-byte prefix of HMAC-SHA1 of the token. The HMAC key is the following fixed (non-secret) 512-bit value: 79b1c8f4 82baf523 b8a9ab4a e960f438 c45be041 11f1f222 e8a3f64d aeb05e3d c3576acc ec649194 aede422c 4e48e0d1 ff21234a a6ed6b49 a7fa592e efd7bba3
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsCapTokenHolderProto{
tokenHmacSha1Prefix: String.t() | nil
}
tokenHmacSha1Prefix: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsCapTokenHolderProto