An open API service indexing awesome lists of open source software.

https://github.com/yc-actions/yc-lockbox

GitHub Action to fetch secret from Yandex Cloud Lockbox.
https://github.com/yc-actions/yc-lockbox

github-actions secret-management secrets yandex-cloud

Last synced: about 2 months ago
JSON representation

GitHub Action to fetch secret from Yandex Cloud Lockbox.

Awesome Lists containing this project

README

          

## GitHub Action to fetch secret from Yandex Cloud Lockbox.

The action fetches secret from Yandex Cloud Lockbox.

**Table of Contents**

- [Usage](#usage)
- [Permissions](#permissions)
- [License Summary](#license-summary)

## Usage

```yaml
- name: Fetch secret
id: lockbox-secret
uses: yc-actions/yc-lockbox@v1
with:
yc-sa-json-credentials: ${{ secrets.YC_SA_JSON_CREDENTIALS }}
secret-id: e6q************
```
`yc-sa-json-credentials` should contain JSON with authorized key for Service Account. More info in [Yandex Cloud IAM documentation](https://cloud.yandex.ru/docs/container-registry/operations/authentication#sa-json).

See [action.yml](action.yml) for the full documentation for this action's inputs and outputs.

## Permissions

To perform this action, it is required that the service account on behalf of which we are acting has granted the `lockbox.payloadViewer` role or greater.

## License Summary

This code is made available under the MIT license.