Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Encryption examples#1400

Merged
garrettjonesgoogle merged 2 commits into
googleapis:mastergoogleapis/google-cloud-java:masterfrom
jerjou:encryption-examplesCopy head branch name to clipboard
Dec 1, 2016
Merged

Encryption examples#1400
garrettjonesgoogle merged 2 commits into
googleapis:mastergoogleapis/google-cloud-java:masterfrom
jerjou:encryption-examplesCopy head branch name to clipboard

Conversation

@jerjou

@jerjou jerjou commented Nov 14, 2016

Copy link
Copy Markdown
Contributor

Diffbase: #1399

Adds two commits with examples for encrypting, decrypting, and updating the encryption key on blobs.

Also adds two methods to Storage.java for being able to set the target of a copy operation with a new encryption key, but without overwriting the other metadata.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 14, 2016
@jerjou

jerjou commented Nov 16, 2016

Copy link
Copy Markdown
Contributor Author

@mziccard FYI

@jerjou

jerjou commented Nov 16, 2016

Copy link
Copy Markdown
Contributor Author

/cc @garrettjonesgoogle

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.04%) to 84.305% when pulling 38c0a1a on jerjou:encryption-examples into 5dfb904 on GoogleCloudPlatform:master.

@jerjou jerjou mentioned this pull request Dec 1, 2016
@jerjou

jerjou commented Dec 1, 2016

Copy link
Copy Markdown
Contributor Author

FWIW, the travis tests pass, and the appveyor CI failure seems like it's unrelated to this PR.

@garrettjonesgoogle garrettjonesgoogle merged commit 273de20 into googleapis:master Dec 1, 2016
github-actions Bot pushed a commit that referenced this pull request Jun 23, 2022
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
meltsufin pushed a commit that referenced this pull request Dec 22, 2025
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
chingor13 pushed a commit that referenced this pull request Jan 6, 2026
chingor13 pushed a commit that referenced this pull request Feb 24, 2026
* utils.

* formatted.

* static mtls config.

* update autoconfig endpoint URL.

* plaintext and mtls S2A address.

* utils.

* formatted.

* static mtls config.

* update autoconfig endpoint URL.

* plaintext and mtls S2A address.

* Use logic in ComputeEngineCredentials to get MDS URL.

* retry MDS request.

* rebranch MtlsConfig as S2AConfig.

* change naming to S2AConfig elsewhere.

* set config in constructor.

* make error message more specific.

* move creation of transportFactory and parser out of loop.

* construct request once.

* move declare to loop.

* remove unnecessary empty constructor.

* Use default retry value.

* set config in constructor.

* make MDS MTLS autoconfig endpoint a static constant.

* make S2AConfig private.

* make constants package private.

* Use Builder pattern.

* Improve javadoc.

* Do not retry if autoconfig endpoint doesn't exist.

* add comment around catching IOException.

* Try and parse each address returned from MDS.

* update license dates on added files.

* Use Google Java Http client built in retry.

* Explain why no format check.

* run linter.

* move it all into 1 try block.

* MockMetadataServerTransport populate content on 200.

* MockMetadataServerTransport uses s2aContentMap.

* Run mvn fmt:format.

* Use ImmutableMap.

* update javadoc to reference AIP.

* Don't nest try/catch + add some comments about why no throw errors.

* update javadoc for each public method.

* add experimental note.

* format.
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 11, 2026
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
chingor13 pushed a commit that referenced this pull request Mar 12, 2026
* utils.

* formatted.

* static mtls config.

* update autoconfig endpoint URL.

* plaintext and mtls S2A address.

* utils.

* formatted.

* static mtls config.

* update autoconfig endpoint URL.

* plaintext and mtls S2A address.

* Use logic in ComputeEngineCredentials to get MDS URL.

* retry MDS request.

* rebranch MtlsConfig as S2AConfig.

* change naming to S2AConfig elsewhere.

* set config in constructor.

* make error message more specific.

* move creation of transportFactory and parser out of loop.

* construct request once.

* move declare to loop.

* remove unnecessary empty constructor.

* Use default retry value.

* set config in constructor.

* make MDS MTLS autoconfig endpoint a static constant.

* make S2AConfig private.

* make constants package private.

* Use Builder pattern.

* Improve javadoc.

* Do not retry if autoconfig endpoint doesn't exist.

* add comment around catching IOException.

* Try and parse each address returned from MDS.

* update license dates on added files.

* Use Google Java Http client built in retry.

* Explain why no format check.

* run linter.

* move it all into 1 try block.

* MockMetadataServerTransport populate content on 200.

* MockMetadataServerTransport uses s2aContentMap.

* Run mvn fmt:format.

* Use ImmutableMap.

* update javadoc to reference AIP.

* Don't nest try/catch + add some comments about why no throw errors.

* update javadoc for each public method.

* add experimental note.

* format.
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 23, 2026
suztomo pushed a commit that referenced this pull request Mar 30, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
lqiu96 pushed a commit that referenced this pull request Apr 1, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
meltsufin pushed a commit that referenced this pull request Apr 29, 2026
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
meltsufin pushed a commit that referenced this pull request May 1, 2026
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.