google-apis-sts_v1 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad83d8d7c878650c69654f899fd41ca7291c56ab4fd37225d56777daf805bffd
4
- data.tar.gz: 372b9ea37cff48cf8c2d20d4b6ee48b3f5e9b37007be481da5496ea8b9dd95a0
3
+ metadata.gz: f700bd301750dcd980d291a558f5fc8daa7c3c7943ae74d4799608c45c8d7994
4
+ data.tar.gz: 817f5bfa83addd48afcaeb49e0a9cb6ee384359cfa596e08864af107309a81aa
5
5
  SHA512:
6
- metadata.gz: 8f1e72fe1f0dc5a65df53db3ecafbb48097947f6e92582628846246aec22bf3a9638ef62424bde82805904a0e24d7a3de787d63f17c1fb76f80179afb49a6bcd
7
- data.tar.gz: 42884317e457d60fb8d9b9fde62ed8f43e853287c8dc30b54f6574962cdbb88430c644c850e6d1af644383232f39bbf7bd27fdc2897faa5ce3e61a4ae15c9129
6
+ metadata.gz: 1276f68c158b1d755438ff73a204c35e053af2ee3e35b71c1f12f13ff5483d25528fbb49ee01b74a7acab5d4673966069a10333680314557bac87fe64ddb48a9
7
+ data.tar.gz: 0ffd3a004ad9b95141a39ed5211375b6edccf458670f10bf838a225548404153ce4757bc0c1ed895b56370c7a5f42d69f43c525ac248bff2cb1633d5094df9c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sts_v1
2
2
 
3
+ ### v0.7.0 (2021-05-27)
4
+
5
+ * Regenerated from discovery document revision 20210517
6
+
3
7
  ### v0.6.0 (2021-05-20)
4
8
 
5
9
  * Unspecified changes
@@ -59,48 +59,47 @@ module Google
59
59
  # @return [String]
60
60
  attr_accessor :scope
61
61
 
62
- # Required. The input token. This token is a either an external credential
63
- # issued by a workload identity pool provider, or a short-lived access token
64
- # issued by Google. If the token is an OIDC JWT, it must use the JWT format
65
- # defined in [RFC 7523](https://tools.ietf.org/html/rfc7523), and the `
66
- # subject_token_type` must be `urn:ietf:params:oauth:token-type:jwt`. The
67
- # following headers are required: - `kid`: The identifier of the signing key
68
- # securing the JWT. - `alg`: The cryptographic algorithm securing the JWT. Must
69
- # be `RS256` or `ES256`. The following payload fields are required. For more
70
- # information, see [RFC 7523, Section 3](https://tools.ietf.org/html/rfc7523#
71
- # section-3): - `iss`: The issuer of the token. The issuer must provide a
72
- # discovery document at the URL `/.well-known/openid-configuration`, where `` is
73
- # the value of this field. The document must be formatted according to section 4.
74
- # 2 of the [OIDC 1.0 Discovery specification](https://openid.net/specs/openid-
75
- # connect-discovery-1_0.html#ProviderConfigurationResponse). - `iat`: The issue
76
- # time, in seconds, since the Unix epoch. Must be in the past. - `exp`: The
77
- # expiration time, in seconds, since the Unix epoch. Must be less than 48 hours
78
- # after `iat`. Shorter expiration times are more secure. If possible, we
79
- # recommend setting an expiration time less than 6 hours. - `sub`: The identity
80
- # asserted in the JWT. - `aud`: For workload identity pools, this must be a
81
- # value specified in the allowed audiences for the workload identity pool
82
- # provider, or one of the audiences allowed by default if no audiences were
83
- # specified. See https://cloud.google.com/iam/docs/reference/rest/v1/projects.
84
- # locations.workloadIdentityPools.providers#oidc Example header: ``` ` "alg": "
85
- # RS256", "kid": "us-east-11" ` ``` Example payload: ``` ` "iss": "https://
86
- # accounts.google.com", "iat": 1517963104, "exp": 1517966704, "aud": "//iam.
87
- # googleapis.com/projects/1234567890123/locations/global/workloadIdentityPools/
88
- # my-pool/providers/my-provider", "sub": "113475438248934895348", "my_claims": `
89
- # "additional_claim": "value" ` ` ``` If `subject_token` is for AWS, it must be
90
- # a serialized `GetCallerIdentity` token. This token contains the same
91
- # information as a request to the AWS [`GetCallerIdentity()`](https://docs.aws.
92
- # amazon.com/STS/latest/APIReference/API_GetCallerIdentity) method, as well as
93
- # the AWS [signature](https://docs.aws.amazon.com/general/latest/gr/
94
- # signing_aws_api_requests.html) for the request information. Use Signature
95
- # Version 4. Format the request as URL-encoded JSON, and set the `
96
- # subject_token_type` parameter to `urn:ietf:params:aws:token-type:aws4_request`.
97
- # The following parameters are required: - `url`: The URL of the AWS STS
98
- # endpoint for `GetCallerIdentity()`, such as `https://sts.amazonaws.com?Action=
99
- # GetCallerIdentity&Version=2011-06-15`. Regional endpoints are also supported. -
100
- # `method`: The HTTP request method: `POST`. - `headers`: The HTTP request
101
- # headers, which must include: - `Authorization`: The request signature. - `x-
102
- # amz-date`: The time you will send the request, formatted as an [ISO8601 Basic](
103
- # https://docs.aws.amazon.com/general/latest/gr/sigv4_elements.html#
62
+ # Required. The input token. This token is either an external credential issued
63
+ # by a workload identity pool provider, or a short-lived access token issued by
64
+ # Google. If the token is an OIDC JWT, it must use the JWT format defined in [
65
+ # RFC 7523](https://tools.ietf.org/html/rfc7523), and the `subject_token_type`
66
+ # must be `urn:ietf:params:oauth:token-type:jwt`. The following headers are
67
+ # required: - `kid`: The identifier of the signing key securing the JWT. - `alg`:
68
+ # The cryptographic algorithm securing the JWT. Must be `RS256` or `ES256`. The
69
+ # following payload fields are required. For more information, see [RFC 7523,
70
+ # Section 3](https://tools.ietf.org/html/rfc7523#section-3): - `iss`: The issuer
71
+ # of the token. The issuer must provide a discovery document at the URL `/.well-
72
+ # known/openid-configuration`, where `` is the value of this field. The document
73
+ # must be formatted according to section 4.2 of the [OIDC 1.0 Discovery
74
+ # specification](https://openid.net/specs/openid-connect-discovery-1_0.html#
75
+ # ProviderConfigurationResponse). - `iat`: The issue time, in seconds, since the
76
+ # Unix epoch. Must be in the past. - `exp`: The expiration time, in seconds,
77
+ # since the Unix epoch. Must be less than 48 hours after `iat`. Shorter
78
+ # expiration times are more secure. If possible, we recommend setting an
79
+ # expiration time less than 6 hours. - `sub`: The identity asserted in the JWT. -
80
+ # `aud`: For workload identity pools, this must be a value specified in the
81
+ # allowed audiences for the workload identity pool provider, or one of the
82
+ # audiences allowed by default if no audiences were specified. See https://cloud.
83
+ # google.com/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.
84
+ # providers#oidc Example header: ``` ` "alg": "RS256", "kid": "us-east-11" ` ```
85
+ # Example payload: ``` ` "iss": "https://accounts.google.com", "iat": 1517963104,
86
+ # "exp": 1517966704, "aud": "//iam.googleapis.com/projects/1234567890123/
87
+ # locations/global/workloadIdentityPools/my-pool/providers/my-provider", "sub": "
88
+ # 113475438248934895348", "my_claims": ` "additional_claim": "value" ` ` ``` If `
89
+ # subject_token` is for AWS, it must be a serialized `GetCallerIdentity` token.
90
+ # This token contains the same information as a request to the AWS [`
91
+ # GetCallerIdentity()`](https://docs.aws.amazon.com/STS/latest/APIReference/
92
+ # API_GetCallerIdentity) method, as well as the AWS [signature](https://docs.aws.
93
+ # amazon.com/general/latest/gr/signing_aws_api_requests.html) for the request
94
+ # information. Use Signature Version 4. Format the request as URL-encoded JSON,
95
+ # and set the `subject_token_type` parameter to `urn:ietf:params:aws:token-type:
96
+ # aws4_request`. The following parameters are required: - `url`: The URL of the
97
+ # AWS STS endpoint for `GetCallerIdentity()`, such as `https://sts.amazonaws.com?
98
+ # Action=GetCallerIdentity&Version=2011-06-15`. Regional endpoints are also
99
+ # supported. - `method`: The HTTP request method: `POST`. - `headers`: The HTTP
100
+ # request headers, which must include: - `Authorization`: The request signature.
101
+ # - `x-amz-date`: The time you will send the request, formatted as an [ISO8601
102
+ # Basic](https://docs.aws.amazon.com/general/latest/gr/sigv4_elements.html#
104
103
  # sigv4_elements_date) string. This value is typically set to the current time
105
104
  # and is used to help prevent replay attacks. - `host`: The hostname of the `url`
106
105
  # field; for example, `sts.amazonaws.com`. - `x-goog-cloud-target-resource`:
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module StsV1
18
18
  # Version of the google-apis-sts_v1 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210508"
25
+ REVISION = "20210517"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sts_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-24 00:00:00.000000000 Z
11
+ date: 2021-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sts_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-sts_v1/v0.6.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sts_v1/v0.7.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sts_v1
57
57
  post_install_message:
58
58
  rdoc_options: []