Commit Graph

187 Commits

Author SHA1 Message Date
Eddy Filip
4af3346b6a Update README with new functionality
Give examples for both ways of loading secrets. Update masking. Add security and help sections.
2021-09-06 12:39:46 +03:00
Eduard Filip
fae9e58c4f Merge pull request #7 from 1Password/feature/output-secrets
Enable using loaded secrets from step's output
2021-09-02 10:45:20 +02:00
Eddy Filip
000522e32f Adjust package dependencies and add newlines 2021-09-01 20:09:34 +02:00
Eddy Filip
4baca64066 Enable using loaded secrets from step's output 2021-09-01 18:23:35 +02:00
Eddy Filip
ac12d2e3c4 Switch to node action
This is done to be able to pass loaded secrets as output. This is not available with a composite action, unless we hard-code the action's outputs, which is not a desired outcome.
2021-09-01 18:20:57 +02:00
Eddy Filip
e8da10d005 Use op cli alpha v2 2021-09-01 16:20:47 +02:00
Eddy Filip
5add51bcb8 Change to new command signature
The command is changed from `op list envars` to `op env ls`
2021-08-16 17:17:20 +02:00
Eddy Filip
08df44393f Remove surrounding $() 2021-08-03 19:24:26 +02:00
Eddy Filip
478705935c Fix lint 2021-08-03 19:17:32 +02:00
Eddy Filip
e64093d691 Add the op-cli in the script
By adding the `op-cli` in the script, we no longer need to look for environment variables that have a reference and fetch the values of the secrets through shell script. Instead, we use the commands `op list envars` and `op read` (alpha version)
2021-08-03 18:00:57 +02:00
Floris van der Grinten
e28960dbbb Merge pull request #4 from 1Password/item-and-vault-names
Some checks failed
Run acceptance tests / test (push) Has been cancelled
v1.0.1
2021-06-09 14:48:31 +02:00
Floris van der Grinten
8d95cf6d0d Fix item and vault loading by name 2021-06-09 12:41:01 +02:00
Floris van der Grinten
7bf534f3d4 Merge pull request #3 from 1Password/readme
Some checks failed
Run acceptance tests / test (push) Has been cancelled
Create README
v1.0.0
2021-05-27 20:29:25 +02:00
Floris van der Grinten
78c1989e1f Rephrase section about masking 2021-05-27 19:01:56 +02:00
Floris van der Grinten
0337271855 Merge pull request #2 from 1Password/license
Add MIT license
2021-05-27 18:34:57 +02:00
Floris van der Grinten
ec7357e85e Merge pull request #1 from 1Password/env-export-action
Create initial action
2021-05-27 16:10:13 +02:00
Floris van der Grinten
115b2af805 Put configure action in separate section with own usage snippet 2021-05-27 16:07:29 +02:00
Floris van der Grinten
8df8b2ac7d Move note on masking into separate section 2021-05-27 14:45:33 +02:00
Floris van der Grinten
08f33d084a Add note on supported runner platforms 2021-05-27 14:31:02 +02:00
Floris van der Grinten
c5c3979b32 Fix jq secret selector 2021-05-27 14:19:07 +02:00
Floris van der Grinten
9adb346f21 Exit when secret is not found 2021-05-27 14:19:07 +02:00
Floris van der Grinten
c3679bd18a Only mask concealed or note fields 2021-05-27 14:19:07 +02:00
Floris van der Grinten
d5609bd236 Link to secrets homepage
Co-authored-by: David Gunter <david.gunter@agilebits.com>
2021-05-27 10:33:48 +02:00
Floris van der Grinten
860c5ff00e Remove use of undocumented API in unset mechanism 2021-05-26 14:03:52 +02:00
Floris van der Grinten
fb259b9597 Create README 2021-05-25 15:50:12 +02:00
Floris van der Grinten
7b0d80c6a3 Add MIT license 2021-05-20 21:05:11 +02:00
Floris van der Grinten
bafb7c3e16 Fill out action metadata fields 2021-05-20 20:57:20 +02:00
Floris van der Grinten
6ee4db8bcd Rename to load-secrets-action 2021-05-20 20:49:22 +02:00
Floris van der Grinten
2d364e111f Add ShellCheck workflow 2021-05-20 17:13:25 +02:00
Floris van der Grinten
8e88ca96a5 Ensure Connect has been configured 2021-05-20 11:38:59 +02:00
Floris van der Grinten
4d815b6e11 Add comment in test workflow to demonstrate real-world workflow 2021-05-20 11:27:13 +02:00
Floris van der Grinten
7bbc7abc2f Add subaction to persist Connect details 2021-05-20 11:27:13 +02:00
Floris van der Grinten
5b8ac70e92 Test secret in section 2021-05-20 11:27:13 +02:00
Floris van der Grinten
a361a0c784 Move test assertions to separate file 2021-05-20 11:27:13 +02:00
Floris van der Grinten
4c749feaf1 Add test workflow 2021-05-20 11:27:13 +02:00
Floris van der Grinten
e25891308d Create env-export action 2021-05-20 11:27:09 +02:00
Floris van der Grinten
ef4f0fb8b9 Initial commit 2021-05-20 11:10:14 +02:00