Comments (2)
Hi @rvdh
There's a long-standing feature request to make this a first-class citizen in the Secret Manager API. In the meantime, I think the best option is to use fromJSON
:
- id: 'secrets'
uses: 'google-github-actions/get-secretmanager-secrets@v0'
with:
secrets: |-
token:my-project/docker-registry
username:my-project/docker-registry
- name: 'do something with secrets'
run: |-
echo "${{ fromJSON(steps.secrets.outputs.token).token }}"
from get-secretmanager-secrets.
Related Issues (14)
- New release needed HOT 1
- Issue with locating problem in step to get secret HOT 7
- Specify secrets without project identifier HOT 2
- System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter ''using: node16' is not supported HOT 1
- Update to use Node 16
- Allow to filter masking of secrets
- "read ETIMEDOUT" and "socket hang up" errors HOT 2
- Is there a way to output the secret into a json file? HOT 2
- Accept a string of secret names as input to the action in order to dynamically get an unknown number of secrets. HOT 2
- Possible format error retrieving secret HOT 2
- Support impersoante service account
- New method to fetch the latest enabled version HOT 4
- Temporarily Disable Output Masking HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from get-secretmanager-secrets.