-
Notifications
You must be signed in to change notification settings - Fork 5
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 #124 from cyberark/update-dev-env-branch
Add Identity support to dev environment
- Loading branch information
Showing
10 changed files
with
407 additions
and
70 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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
- !policy | ||
id: conjur | ||
body: | ||
- !policy | ||
id: authn-oidc | ||
body: | ||
- !policy | ||
id: identity | ||
body: | ||
- !webservice | ||
|
||
- !variable provider-uri | ||
- !variable client-id | ||
- !variable client-secret | ||
|
||
# URI of Conjur instance | ||
- !variable redirect_uri | ||
|
||
# Defines the JWT claim to use as the Conjur identifier | ||
- !variable claim-mapping | ||
|
||
# Group with permission to authenticate | ||
- !group | ||
id: authenticatable | ||
annotations: | ||
description: Users who can authenticate using this authenticator | ||
|
||
- !permit | ||
role: !group authenticatable | ||
privilege: [ read, authenticate ] | ||
resource: !webservice |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ci: | ||
IDENTITY_CLIENT_ID: !var ci/identity/app/client-id | ||
IDENTITY_CLIENT_SECRET: !var ci/identity/app/client-secret | ||
IDENTITY_PROVIDER_URI: !var ci/identity/app/provider-uri | ||
|
||
development: | ||
IDENTITY_CLIENT_ID: !var dev/identity/app/client-id | ||
IDENTITY_CLIENT_SECRET: !var dev/identity/app/client-secret | ||
IDENTITY_PROVIDER_URI: !var dev/identity/app/provider-uri |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Users with permission to authenticate | ||
- !user {{ IDENTITY_USERNAME }} | ||
|
||
- !grant | ||
members: | ||
- !user {{ IDENTITY_USERNAME }} | ||
role: !group conjur/authn-oidc/identity/authenticatable |
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
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
Oops, something went wrong.