Class: Google::Apis::IamV1::Saml
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::Saml
- 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 an SAML 2.0 identity provider.
Instance Attribute Summary collapse
-
#idp_metadata_xml ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Saml
constructor
A new instance of Saml.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Saml
Returns a new instance of Saml.
1812 1813 1814 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1812 def initialize(**args) update!(**args) end |
Instance Attribute Details
#idp_metadata_xml ⇒ String
Required. SAML Identity provider configuration metadata xml doc. The xml
document should comply with SAML 2.0 specification.
The max size of the acceptable xml document will be bounded to 128k characters.
The metadata xml document should satisfy the following constraints: 1) Must
contain an Identity Provider Entity ID. 2) Must contain at least one non-
expired signing key certificate. 3) For each signing key: a) Valid from should
be no more than 7 days from now. b) Valid to should be no more than 15 years
in the future. 4) Upto 3 IdP signing keys are allowed in the metadata xml.
When updating the provider's metadata xml, at lease one non-expired signing
key must overlap with the existing metadata. This requirement is skipped if
there are no non-expired signing keys present in the existing metadata
Corresponds to the JSON property idpMetadataXml
1810 1811 1812 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1810 def @idp_metadata_xml end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1817 1818 1819 |
# File 'lib/google/apis/iam_v1/classes.rb', line 1817 def update!(**args) @idp_metadata_xml = args[:idp_metadata_xml] if args.key?(:idp_metadata_xml) end |