Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add action input to choose between bw cloud regions #102

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kimdre
Copy link

@kimdre kimdre commented Apr 26, 2024

This PR is related to my issue #100 and adds a new input to the Github Action to select the vault region if the official cloud-hosted service by Bitwarden is used.
Users can specify it by using the cloud_region input with either

Example

- name: Get Secrets
  uses: bitwarden/sm-action@v2
  with:
    access_token: ${{ secrets.BW_ACCESS_TOKEN }}
    cloud_region: "eu"
    secrets: |
      12345678-8e0f-4ecb-9a10-65113e8aaf66 > VAR1
      12345678-8e0f-4ecb-9a10-65113e8aaf66 > VAR2

This is my first time writing typescript, so please let me know if anything is wrong.

@kimdre kimdre requested a review from a team as a code owner April 26, 2024 21:41
@bitwarden-bot
Copy link

bitwarden-bot commented Apr 26, 2024

Logo
Checkmarx One – Scan Summary & Detailsab5e5af3-ec47-4493-ad2c-699e25738aae

No New Or Fixed Issues Found

Signed-off-by: Kim Oliver Drechsel <[email protected]>
@coltonhurst
Copy link
Member

coltonhurst commented Apr 29, 2024

Thanks @kimdre for your PR :)

Looks like we don't have CLAassistant and the bitwarden-bot (to create internal tickets) running for sm-action yet. I've created the internal ticket SM-1220 to track this.

@CLAassistant
Copy link

CLAassistant commented Apr 30, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants