This repository has been archived by the owner on May 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from darrenmcc/save-secrets
Save secrets
- Loading branch information
Showing
3 changed files
with
109 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,8 +107,8 @@ func TestGetSecrets(t *testing.T) { | |
}, | ||
}, | ||
{ | ||
name: "GCP standard login, no meta email, fail", | ||
|
||
name: "GCP standard login, no meta email, fail", | ||
givenCreds: &google.Credentials{}, | ||
givenCfg: Config{ | ||
Role: "my-gcp-role", | ||
SecretPath: "my-secret-path", | ||
|
@@ -156,6 +156,7 @@ func TestGetSecrets(t *testing.T) { | |
name: "GCP standard login, meta fail", | ||
|
||
givenEmail: "[email protected]", | ||
givenCreds: &google.Credentials{}, | ||
givenCfg: Config{ | ||
Role: "my-gcp-role", | ||
SecretPath: "my-secret-path", | ||
|
@@ -292,7 +293,6 @@ func TestGetSecrets(t *testing.T) { | |
} | ||
}) | ||
} | ||
|
||
} | ||
|
||
type testTokenSource struct{} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters