roderik.eth
0e91b4a315
fix: arm uname
2023-05-18 21:48:54 +02:00
roderik.eth
9c2d98ed07
feat: install the right op for arm on linux
2023-05-18 20:51:49 +02:00
Eduard Filip
14687e434a
Enable installing the CLI on MacOS runners without sudo privileges ( #32 )
2023-03-08 12:17:03 +01:00
Mark Mercado
95681075d8
Use temp directory for op (versus static /usr/local/bin)
2023-01-29 09:46:53 -05:00
Eduard Filip
0a7975f916
Ensure that the action is backwards-compatible ( #25 )
...
Run acceptance tests / use-connect-without-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-references-with-id (push) Has been cancelled
Run acceptance tests / use-service-account-without-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-references-with-id (push) Has been cancelled
Run acceptance tests / run-on-macos-12 (push) Has been cancelled
Bring 2 changes that ensure that the GitHub Action is backwards compatible:
- Append `http://` if the prefix is not provided in the `OP_CONNECT_HOST` (this is caused by the fact that `curl` guesses the protocol if not provided (https://linux.die.net/man/1/curl ), which we missed when switching to using the 1Password CLI as the backend of the action)
- Set the default of export-env to true, since that was the default behavior of the action until we added the possibility to export secrets as step's output.
Also, the documentation is adjusted to reflect these changes.
2022-12-22 12:46:28 +02:00
volodymyrZotov
ffba2a6966
Merge pull request #21 from simonwhitaker/simon/quote-ref
...
Run acceptance tests / use-connect-without-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-export-env (push) Has been cancelled
Run acceptance tests / use-connect-with-references-with-id (push) Has been cancelled
Run acceptance tests / use-service-account-without-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-export-env (push) Has been cancelled
Run acceptance tests / use-service-account-with-references-with-id (push) Has been cancelled
Run acceptance tests / run-on-macos-12 (push) Has been cancelled
Quote $ref to avoid word splitting
2022-12-16 16:44:11 +02:00
Simon Whitaker
2ee4979efa
Quote $ref to avoid word splitting
2022-12-16 14:40:27 +00:00
Eddy Filip
fbf9be8f55
Pass User-Agent Information to the 1Password CLI
2022-12-14 14:57:06 +02:00
Eddy Filip
5a04ae581c
Update 1Password CLI to the latest version
2022-12-14 14:49:33 +02:00
Eddy Filip
b73c8a7ca6
Make openssl generate a 64-character string as mentioned in comment
2022-10-17 18:22:43 +02:00
volodymyrZotov
30def81a24
added macos installer reference
2022-08-19 14:01:55 +03:00
volodymyrZotov
ed1f9a48af
use op cli to fetch secrets for connect
2022-08-19 14:00:33 +03:00
volodymyrZotov
953b51736f
extract op to proper path
2022-08-15 17:20:19 +03:00
volodymyrZotov
8d99fc2a1e
properly unpack tar.gz
2022-08-15 14:17:44 +03:00
volodymyrZotov
2a214a29d3
unset IFS at the end of the flow
2022-08-11 18:38:45 +03:00
volodymyrZotov
2a4f64c09d
Merge branch 'feature/add-cli' of github.com:1Password/load-secrets-action into feature/add-cli
2022-08-11 18:35:38 +03:00
volodymyrZotov
df0b228eb9
removed logs to console
2022-08-11 18:33:04 +03:00
volodymyrZotov
34bed60a89
use op read to retrive item values
2022-08-11 18:08:26 +03:00
volodymyrZotov
ada03a0325
use cli to retrieve secrets if signed in via connect
2022-08-11 16:39:39 +03:00
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
302881bfef
use correct op cli version fo linux
2022-08-10 11:42:31 +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
Eddy Filip
4baca64066
Enable using loaded secrets from step's output
2021-09-01 18:23:35 +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
8d95cf6d0d
Fix item and vault loading by name
2021-06-09 12:41:01 +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
860c5ff00e
Remove use of undocumented API in unset mechanism
2021-05-26 14:03:52 +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
e25891308d
Create env-export action
2021-05-20 11:27:09 +02:00