Skip to content

Commit 2c7f7a2

Browse files
authored
Merge branch 'main' into client-side-cab
2 parents 3bad66f + 7072315 commit 2c7f7a2

File tree

14 files changed

+87
-13
lines changed

14 files changed

+87
-13
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.30.1"
2+
".": "1.31.0"
33
}

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## [1.31.0](https://github.com/googleapis/google-auth-library-java/compare/v1.30.1...v1.31.0) (2025-01-22)
4+
5+
6+
### Features
7+
8+
* ImpersonatedCredentials to support universe domain for idtoken and signblob ([#1566](https://github.com/googleapis/google-auth-library-java/issues/1566)) ([adc2ff3](https://github.com/googleapis/google-auth-library-java/commit/adc2ff3dcabb79e367d0d66b5b3fd8a51e35bc2b))
9+
* Support transport and binding-enforcement MDS parameters. ([#1558](https://github.com/googleapis/google-auth-library-java/issues/1558)) ([9828a8e](https://github.com/googleapis/google-auth-library-java/commit/9828a8eeb9f144f7c341df0c03282a8790356962))
10+
11+
12+
### Documentation
13+
14+
* Promote use of bill of materials in quickstart documentation ([#1620](https://github.com/googleapis/google-auth-library-java/issues/1620)) ([fc20d9c](https://github.com/googleapis/google-auth-library-java/commit/fc20d9c9d33b7eada964cf41297f8a3e13c27fe1)), closes [#1552](https://github.com/googleapis/google-auth-library-java/issues/1552)
15+
316
## [1.30.1](https://github.com/googleapis/google-auth-library-java/compare/v1.30.0...v1.30.1) (2024-12-11)
417

518

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ credentials. This artifact depends on the App Engine SDK.
1616
- [*google-auth-library-oauth2-http*](#google-auth-library-oauth2-http): contains a wide variety of
1717
credentials as well as utility methods to create them and to get Application Default Credentials
1818

19+
> ⚠️ Important: If you accept a credential configuration (credential JSON/File/Stream) from an external source for
20+
authentication to Google Cloud Platform, you must validate it before providing it to any Google API or library. Providing
21+
an unvalidated credential configuration to Google APIs can compromise the security of your systems and data. For more
22+
information, refer to [documentation](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
23+
1924
**Table of contents:**
2025

2126

appengine/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.google.auth</groupId>
77
<artifactId>google-auth-library-parent</artifactId>
8-
<version>1.30.2-SNAPSHOT</version><!-- {x-version-update:google-auth-library-parent:current} -->
8+
<version>1.31.0</version><!-- {x-version-update:google-auth-library-parent:current} -->
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.google.auth</groupId>
55
<artifactId>google-auth-library-bom</artifactId>
6-
<version>1.30.2-SNAPSHOT</version><!-- {x-version-update:google-auth-library-bom:current} -->
6+
<version>1.31.0</version><!-- {x-version-update:google-auth-library-bom:current} -->
77
<packaging>pom</packaging>
88
<name>Google Auth Library for Java BOM</name>
99
<description>

credentials/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.google.auth</groupId>
66
<artifactId>google-auth-library-parent</artifactId>
7-
<version>1.30.2-SNAPSHOT</version><!-- {x-version-update:google-auth-library-parent:current} -->
7+
<version>1.31.0</version><!-- {x-version-update:google-auth-library-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

oauth2_http/java/com/google/auth/oauth2/ExternalAccountAuthorizedUserCredentials.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,13 @@ private ExternalAccountAuthorizedUserCredentials(Builder builder) {
127127
/**
128128
* Returns external account authorized user credentials defined by a JSON file stream.
129129
*
130+
* <p>Important: If you accept a credential configuration (credential JSON/File/Stream) from an
131+
* external source for authentication to Google Cloud Platform, you must validate it before
132+
* providing it to any Google API or library. Providing an unvalidated credential configuration to
133+
* Google APIs can compromise the security of your systems and data. For more information, refer
134+
* to {@link <a
135+
* href="https://cloud.google.com/docs/authentication/external/externally-sourced-credentials">documentation</a>}.
136+
*
130137
* @param credentialsStream the stream with the credential definition
131138
* @return the credential defined by the credentialsStream
132139
* @throws IOException if the credential cannot be created from the stream
@@ -140,6 +147,13 @@ public static ExternalAccountAuthorizedUserCredentials fromStream(InputStream cr
140147
/**
141148
* Returns external account authorized user credentials defined by a JSON file stream.
142149
*
150+
* <p>Important: If you accept a credential configuration (credential JSON/File/Stream) from an
151+
* external source for authentication to Google Cloud Platform, you must validate it before
152+
* providing it to any Google API or library. Providing an unvalidated credential configuration to
153+
* Google APIs can compromise the security of your systems and data. For more information, refer
154+
* to {@link <a
155+
* href="https://cloud.google.com/docs/authentication/external/externally-sourced-credentials">documentation</a>}.
156+
*
143157
* @param credentialsStream the stream with the credential definition
144158
* @param transportFactory the HTTP transport factory used to create the transport to get access
145159
* tokens

oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,13 @@ public Map<String, List<String>> getRequestMetadata(URI uri) throws IOException
349349
*
350350
* <p>Returns {@link IdentityPoolCredentials} or {@link AwsCredentials}.
351351
*
352+
* <p>Important: If you accept a credential configuration (credential JSON/File/Stream) from an
353+
* external source for authentication to Google Cloud Platform, you must validate it before
354+
* providing it to any Google API or library. Providing an unvalidated credential configuration to
355+
* Google APIs can compromise the security of your systems and data. For more information, refer
356+
* to {@link <a
357+
* href="https://cloud.google.com/docs/authentication/external/externally-sourced-credentials">documentation</a>}.
358+
*
352359
* @param credentialsStream the stream with the credential definition
353360
* @return the credential defined by the credentialsStream
354361
* @throws IOException if the credential cannot be created from the stream
@@ -363,6 +370,13 @@ public static ExternalAccountCredentials fromStream(InputStream credentialsStrea
363370
*
364371
* <p>Returns a {@link IdentityPoolCredentials} or {@link AwsCredentials}.
365372
*
373+
* <p>Important: If you accept a credential configuration (credential JSON/File/Stream) from an
374+
* external source for authentication to Google Cloud Platform, you must validate it before
375+
* providing it to any Google API or library. Providing an unvalidated credential configuration to
376+
* Google APIs can compromise the security of your systems and data. For more information, refer
377+
* to {@link <a
378+
* href="https://cloud.google.com/docs/authentication/external/externally-sourced-credentials">documentation</a>}.
379+
*
366380
* @param credentialsStream the stream with the credential definition
367381
* @param transportFactory the HTTP transport factory used to create the transport to get access
368382
* tokens

oauth2_http/java/com/google/auth/oauth2/GoogleCredentials.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,13 @@ public static GoogleCredentials getApplicationDefault(HttpTransportFactory trans
158158
* <p>The stream can contain a Service Account key file in JSON format from the Google Developers
159159
* Console or a stored user credential using the format supported by the Cloud SDK.
160160
*
161+
* <p>Important: If you accept a credential configuration (credential JSON/File/Stream) from an
162+
* external source for authentication to Google Cloud Platform, you must validate it before
163+
* providing it to any Google API or library. Providing an unvalidated credential configuration to
164+
* Google APIs can compromise the security of your systems and data. For more information, refer
165+
* to {@link <a
166+
* href="https://cloud.google.com/docs/authentication/external/externally-sourced-credentials">documentation</a>}.
167+
*
161168
* @param credentialsStream the stream with the credential definition.
162169
* @return the credential defined by the credentialsStream.
163170
* @throws IOException if the credential cannot be created from the stream.
@@ -172,6 +179,13 @@ public static GoogleCredentials fromStream(InputStream credentialsStream) throws
172179
* <p>The stream can contain a Service Account key file in JSON format from the Google Developers
173180
* Console or a stored user credential using the format supported by the Cloud SDK.
174181
*
182+
* <p>Important: If you accept a credential configuration (credential JSON/File/Stream) from an
183+
* external source for authentication to Google Cloud Platform, you must validate it before
184+
* providing it to any Google API or library. Providing an unvalidated credential configuration to
185+
* Google APIs can compromise the security of your systems and data. For more information, refer
186+
* to {@link <a
187+
* href="https://cloud.google.com/docs/authentication/external/externally-sourced-credentials">documentation</a>}.
188+
*
175189
* @param credentialsStream the stream with the credential definition.
176190
* @param transportFactory HTTP transport factory, creates the transport used to get access
177191
* tokens.

oauth2_http/java/com/google/auth/oauth2/ServiceAccountCredentials.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,13 @@ static ServiceAccountCredentials fromPkcs8(
446446
* Returns credentials defined by a Service Account key file in JSON format from the Google
447447
* Developers Console.
448448
*
449+
* <p>Important: If you accept a credential configuration (credential JSON/File/Stream) from an
450+
* external source for authentication to Google Cloud Platform, you must validate it before
451+
* providing it to any Google API or library. Providing an unvalidated credential configuration to
452+
* Google APIs can compromise the security of your systems and data. For more information, refer
453+
* to {@link <a
454+
* href="https://cloud.google.com/docs/authentication/external/externally-sourced-credentials">documentation</a>}.
455+
*
449456
* @param credentialsStream the stream with the credential definition.
450457
* @return the credential defined by the credentialsStream.
451458
* @throws IOException if the credential cannot be created from the stream.
@@ -459,6 +466,13 @@ public static ServiceAccountCredentials fromStream(InputStream credentialsStream
459466
* Returns credentials defined by a Service Account key file in JSON format from the Google
460467
* Developers Console.
461468
*
469+
* <p>Important: If you accept a credential configuration (credential JSON/File/Stream) from an
470+
* external source for authentication to Google Cloud Platform, you must validate it before
471+
* providing it to any Google API or library. Providing an unvalidated credential configuration to
472+
* Google APIs can compromise the security of your systems and data. For more information, refer
473+
* to {@link <a
474+
* href="https://cloud.google.com/docs/authentication/external/externally-sourced-credentials">documentation</a>}.
475+
*
462476
* @param credentialsStream the stream with the credential definition.
463477
* @param transportFactory HTTP transport factory, creates the transport used to get access
464478
* tokens.

0 commit comments

Comments
 (0)