Commit Graph
403 Commits
Author SHA1 Message Date
Grraahaam 092665737f Merge remote-tracking branch 'origin/main' into feat/cli-secret-plain-output 2024-05-24 17:13:57 +02:00
Daniel Hougaard f04f3aee25 Fix: Allow service token & UA access token to be used as authentication 2024-04-24 02:36:29 +02:00
Daniel Hougaard e5333e2718 Fix: UA token being overwritten by service token 2024-04-24 02:07:45 +02:00
Daniel Hougaard b94ffb8a82 Fix: UA Token being overwritten by INFISICAL_TOKEN env variable 2024-04-23 22:00:32 +02:00
Maidul Islam 088cb72621 Merge pull request #1703 from Infisical/daniel/cli-integration-tests
Feat: CLI Integration Tests (Phase I)
2024-04-22 14:38:22 -04:00
Maidul Islam de21b44486 small nits 2024-04-22 14:36:33 -04:00
Daniel Hougaard 519d6f98a2 Chore: Use standard lib 2024-04-22 19:50:24 +02:00
Daniel Hougaard 973ed37018 Update export.go 2024-04-22 19:50:15 +02:00
Daniel Hougaard e008fb26a2 Cleanup 2024-04-22 16:02:16 +02:00
Daniel Hougaard 34543ef127 Fix: Removed old code 2024-04-22 15:59:54 +02:00
Daniel Hougaard 83107f56bb Fix: Removed old test code 2024-04-22 15:59:16 +02:00
Daniel Hougaard 35071af478 Fix: Run cmd tests 2024-04-22 15:27:42 +02:00
Daniel Hougaard 9cf1dd38a6 Fix: Run CMD snapshot fix 2024-04-22 15:27:22 +02:00
Daniel Hougaard 144a563609 Fix: Fixed snapshots order 2024-04-22 15:21:19 +02:00
Daniel Hougaard 2ed9aa888e Fix: Secrets order 2024-04-22 15:18:30 +02:00
Daniel Hougaard 8c7d329f8f Fix: Snapshot output order 2024-04-22 15:18:23 +02:00
Daniel Hougaard a0aa06e2f5 Fix: Refactor teests to use cupaloy 2024-04-22 15:12:21 +02:00
Daniel Hougaard 1dd0167ac8 Feat: CLI Integration Tests 2024-04-22 15:12:18 +02:00
Daniel Hougaard 55aea364da Fix: Refactor teests to use cupaloy 2024-04-22 15:12:09 +02:00
Daniel Hougaard afee47ab45 Delete root_test.go 2024-04-22 15:12:02 +02:00
Daniel Hougaard 9387d9aaac Rename 2024-04-22 15:11:58 +02:00
Daniel Hougaard 2b215a510c Fix: Integrated UA login test 2024-04-22 15:11:39 +02:00
Daniel Hougaard 3bcf406688 Fix: Refactor 2024-04-22 15:11:20 +02:00
Daniel Hougaard 580b86cde8 Fix: Refactor teests to use cupaloy 2024-04-22 15:11:10 +02:00
Daniel Hougaard 7a20251261 Fix: Returning keys in a reproducible manner 2024-04-22 15:10:55 +02:00
Daniel Hougaard ae63898d5e Install cupaloy 2024-04-22 15:02:51 +02:00
Daniel Hougaard 0e3cc4fdeb Correct snapshots 2024-04-22 15:02:40 +02:00
Maidul Islam 581ffc613c add go lang add/minus functions and give better example 2024-04-18 15:45:20 -04:00
Daniel Hougaard e453ddf937 Update secrets.go 2024-04-18 18:04:29 +02:00
Daniel Hougaard 22c589e2cf Update tests.go 2024-04-18 15:01:31 +02:00
Daniel Hougaard 943945f6d7 Feat: Make run testable 2024-04-18 15:01:28 +02:00
Daniel Hougaard b598dd3d47 Feat: Cli integration tests -- exports 2024-04-18 14:59:41 +02:00
Daniel Hougaard ad6d18a905 Feat: Cli integration tests -- run cmd 2024-04-18 14:59:26 +02:00
Daniel Hougaard 46a91515b1 Fix: Use login UA token 2024-04-18 14:59:21 +02:00
Daniel Hougaard b79ce8a880 Feat: Cli integration tests -- login 2024-04-18 14:59:13 +02:00
Daniel Hougaard d31d98b5e0 Feat: CLI Integration tests 2024-04-18 14:58:59 +02:00
Akhil Mohan 2aea73861b feat(cli): added template feature to cli export command 2024-04-18 13:09:09 +05:30
Daniel Hougaard cb6cbafcae Fix: JSON error check 2024-04-17 19:33:51 +02:00
Daniel Hougaard bcb3eaab74 Feat: Integration tests 2024-04-17 19:33:51 +02:00
Daniel Hougaard 12d5fb1043 Fix: Add support for imported secrets with raw fetching 2024-04-17 19:33:51 +02:00
Daniel Hougaard 8bf09789d6 Feat: Integration tests 2024-04-17 19:33:51 +02:00
Daniel Hougaard 7ab8db0471 Feat: Integration tests 2024-04-17 19:33:51 +02:00
Daniel Hougaard 6b473d2b36 Feat: Integration tests 2024-04-17 19:33:51 +02:00
Daniel Hougaard 7581b33b3b Fix: Add import support for raw fetching 2024-04-17 19:33:51 +02:00
Daniel Hougaard be74f4d34c Fix: Add import & recursive support to raw fetching 2024-04-17 19:33:51 +02:00
Daniel Hougaard de92ba157a Update run.go 2024-04-16 20:30:03 +02:00
Maidul Islam 18d7a14e3f add silent flag 2024-04-16 13:21:05 -04:00
Daniel Hougaard a975fbd8a4 Fix: Moved comments 2024-04-16 10:16:23 +02:00
Daniel Hougaard 3a6ec3717b Fix: Use constant identifiers 2024-04-16 10:15:07 +02:00
Daniel Hougaard a4a961996b Fix: Formatting and plain token output 2024-04-16 10:14:41 +02:00