Reference documentation and code samples for the Confidential Computing V1 API class Google::Cloud::ConfidentialComputing::V1::TokenOptions.
Options to modify claims in the token to generate custom-purpose tokens.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#audience
def audience() -> ::String
Returns
- (::String) — Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.
#audience=
def audience=(value) -> ::String
Parameter
- value (::String) — Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.
Returns
- (::String) — Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.
#aws_principal_tags_options
def aws_principal_tags_options() -> ::Google::Cloud::ConfidentialComputing::V1::TokenOptions::AwsPrincipalTagsOptions
Returns
- (::Google::Cloud::ConfidentialComputing::V1::TokenOptions::AwsPrincipalTagsOptions) — Optional. Options for the Limited AWS token type.
#aws_principal_tags_options=
def aws_principal_tags_options=(value) -> ::Google::Cloud::ConfidentialComputing::V1::TokenOptions::AwsPrincipalTagsOptions
Parameter
- value (::Google::Cloud::ConfidentialComputing::V1::TokenOptions::AwsPrincipalTagsOptions) — Optional. Options for the Limited AWS token type.
Returns
- (::Google::Cloud::ConfidentialComputing::V1::TokenOptions::AwsPrincipalTagsOptions) — Optional. Options for the Limited AWS token type.
#nonce
def nonce() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
#nonce=
def nonce=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
Returns
- (::Array<::String>) — Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
#token_type
def token_type() -> ::Google::Cloud::ConfidentialComputing::V1::TokenType
Returns
- (::Google::Cloud::ConfidentialComputing::V1::TokenType) — Optional. Optional token type to select what type of token to return.
#token_type=
def token_type=(value) -> ::Google::Cloud::ConfidentialComputing::V1::TokenType
Parameter
- value (::Google::Cloud::ConfidentialComputing::V1::TokenType) — Optional. Optional token type to select what type of token to return.
Returns
- (::Google::Cloud::ConfidentialComputing::V1::TokenType) — Optional. Optional token type to select what type of token to return.