Class: Google::Apis::IamV1::WorkloadIdentityPoolProviderKey
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::WorkloadIdentityPoolProviderKey
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb
Overview
Represents a public key configuration for your workload identity pool provider. The key can be configured in your identity provider to encrypt the SAML assertions. Google holds the corresponding private key which it uses to decrypt encrypted tokens.
Instance Attribute Summary collapse
-
#expire_time ⇒ String
Output only.
-
#key_data ⇒ Google::Apis::IamV1::KeyData
Represents a public key data along with its format.
-
#name ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#use ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkloadIdentityPoolProviderKey
constructor
A new instance of WorkloadIdentityPoolProviderKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkloadIdentityPoolProviderKey
Returns a new instance of WorkloadIdentityPoolProviderKey.
2926 2927 2928 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2926 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expire_time ⇒ String
Output only. Time after which the key will be permanently purged and cannot be
recovered. Note that the key may get purged before this timestamp if the total
limit of keys per provider is crossed.
Corresponds to the JSON property expireTime
2904 2905 2906 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2904 def expire_time @expire_time end |
#key_data ⇒ Google::Apis::IamV1::KeyData
Represents a public key data along with its format.
Corresponds to the JSON property keyData
2909 2910 2911 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2909 def key_data @key_data end |
#name ⇒ String
Output only. The resource name of the key.
Corresponds to the JSON property name
2914 2915 2916 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2914 def name @name end |
#state ⇒ String
Output only. The state of the key.
Corresponds to the JSON property state
2919 2920 2921 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2919 def state @state end |
#use ⇒ String
Required. The purpose of the key.
Corresponds to the JSON property use
2924 2925 2926 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2924 def use @use end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2931 2932 2933 2934 2935 2936 2937 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2931 def update!(**args) @expire_time = args[:expire_time] if args.key?(:expire_time) @key_data = args[:key_data] if args.key?(:key_data) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @use = args[:use] if args.key?(:use) end |