Commit Graph

253 Commits

Author SHA1 Message Date
volodymyrZotov
c7774c7068 updated darwin link 2022-08-10 17:02:15 +03:00
volodymyrZotov
1263fc888c updated darwin op archive link 2022-08-10 16:57:06 +03:00
volodymyrZotov
858b6a838e added env variables to test secret section 2022-08-10 12:59:29 +03:00
volodymyrZotov
b38b493d73 rename tests 2022-08-10 11:45:24 +03:00
volodymyrZotov
bb28cdf0c6 added test case for load secrets via op cli 2022-08-10 11:44:12 +03:00
volodymyrZotov
302881bfef use correct op cli version fo linux 2022-08-10 11:42:31 +03:00
volodymyrZotov
9fdfd04a6f revert back test change 2022-08-10 10:34:38 +03:00
volodymyrZotov
b38d01591f test should fail cause not existing field provided 2022-08-10 10:33:04 +03:00
volodymyrZotov
d78889ad20 updated test.yml 2022-08-10 10:26:19 +03:00
volodymyrZotov
6c02b8909f updated configure script 2022-08-10 10:23:14 +03:00
volodymyrZotov
cb24269fc9 Merge branch 'main' into feature/add-cli
# Conflicts:
#	action.yml
2022-08-09 16:57:20 +03:00
volodymyrZotov
300c776a97 revert logic to fetch items using connect 2022-08-09 12:06:45 +03:00
volodymyrZotov
2faffa0507 split logic for connect and service_account flows 2022-08-09 11:21:49 +03:00
Eduard Filip
d50df7cd6d Merge pull request #11 from 1Password/eddy/fix-injection
Some checks failed
Run acceptance tests / test (push) Has been cancelled
Improve the way input is processed to avoid command injection
v1.0.2
2022-05-18 17:42:36 +02:00
Eddy Filip
a5debe1b2e Improve the way input is processed to avoid command injection 2022-05-18 12:47:49 +03:00
Eddy Filip
da5dd0865d Add newline to trigger pipeline 2021-10-05 16:34:31 +02:00
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