File Coverage

blib/lib/Paws/IAM/CreateOpenIDConnectProvider.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::IAM::CreateOpenIDConnectProvider;
3 1     1   353 use Moose;
  1         2  
  1         6  
4             has ClientIDList => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5             has ThumbprintList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
6             has Url => (is => 'ro', isa => 'Str', required => 1);
7              
8 1     1   5451 use MooseX::ClassAttribute;
  1         3  
  1         8  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateOpenIDConnectProvider');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IAM::CreateOpenIDConnectProviderResponse');
12             class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateOpenIDConnectProviderResult');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::IAM::CreateOpenIDConnectProvider - Arguments for method CreateOpenIDConnectProvider on Paws::IAM
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method CreateOpenIDConnectProvider on the
24             AWS Identity and Access Management service. Use the attributes of this class
25             as arguments to method CreateOpenIDConnectProvider.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateOpenIDConnectProvider.
28              
29             As an example:
30              
31             $service_obj->CreateOpenIDConnectProvider(Att1 => $value1, Att2 => $value2, ...);
32              
33             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 ClientIDList => ArrayRef[Str|Undef]
39              
40             A list of client IDs (also known as audiences). When a mobile or web
41             app registers with an OpenID Connect provider, they establish a value
42             that identifies the application. (This is the value that's sent as the
43             C<client_id> parameter on OAuth requests.)
44              
45             You can register multiple client IDs with the same provider. For
46             example, you might have multiple applications that use the same OIDC
47             provider. You cannot register more than 100 client IDs with a single
48             IAM OIDC provider.
49              
50             There is no defined format for a client ID. The
51             C<CreateOpenIDConnectProviderRequest> action accepts client IDs up to
52             255 characters long.
53              
54              
55              
56             =head2 B<REQUIRED> ThumbprintList => ArrayRef[Str|Undef]
57              
58             A list of server certificate thumbprints for the OpenID Connect (OIDC)
59             identity provider's server certificate(s). Typically this list includes
60             only one entry. However, IAM lets you have up to five thumbprints for
61             an OIDC provider. This lets you maintain multiple thumbprints if the
62             identity provider is rotating certificates.
63              
64             The server certificate thumbprint is the hex-encoded SHA-1 hash value
65             of the X.509 certificate used by the domain where the OpenID Connect
66             provider makes its keys available. It is always a 40-character string.
67              
68             You must provide at least one thumbprint when creating an IAM OIDC
69             provider. For example, if the OIDC provider is C<server.example.com>
70             and the provider stores its keys at
71             "https://keys.server.example.com/openid-connect", the thumbprint string
72             would be the hex-encoded SHA-1 hash value of the certificate used by
73             https://keys.server.example.com.
74              
75             For more information about obtaining the OIDC provider's thumbprint,
76             see Obtaining the Thumbprint for an OpenID Connect Provider in the
77             I<IAM User Guide>.
78              
79              
80              
81             =head2 B<REQUIRED> Url => Str
82              
83             The URL of the identity provider. The URL must begin with "https://"
84             and should correspond to the C<iss> claim in the provider's OpenID
85             Connect ID tokens. Per the OIDC standard, path components are allowed
86             but query parameters are not. Typically the URL consists of only a host
87             name, like "https://server.example.org" or "https://example.com".
88              
89             You cannot register the same provider multiple times in a single AWS
90             account. If you try to submit a URL that has already been used for an
91             OpenID Connect provider in the AWS account, you will get an error.
92              
93              
94              
95              
96             =head1 SEE ALSO
97              
98             This class forms part of L<Paws>, documenting arguments for method CreateOpenIDConnectProvider in L<Paws::IAM>
99              
100             =head1 BUGS and CONTRIBUTIONS
101              
102             The source code is located here: https://github.com/pplu/aws-sdk-perl
103              
104             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
105              
106             =cut
107