This repository has been archived by the owner on Jul 25, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preparation for a demo + some important bugfixes (#279)
* demo prep * outline * intermediate * fixed a bug * fix * recent fixes * fixes * recent changes * minor * minor * added comments * fixes
- Loading branch information
Showing
55 changed files
with
1,073 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ Note that **Aegis** consists of more than a single project, | |
and during a release cut, all projects are signed and tagged | ||
with the same version. | ||
|
||
Afer **Aegis** hits a major 1.0.0. version, this will change | ||
After **Aegis** hits a major 1.0.0. version, this will change, | ||
and we will also have a support plan various major versions. | ||
|
||
## Reporting a Vulnerability | ||
|
@@ -19,6 +19,6 @@ Send your vulnerability reports to [[email protected]](mailto:[email protected] | |
We don’t have an official turnover time, but if nobody gets back | ||
to you within a week please send another email. | ||
|
||
We take all vulnerability reports seriously and you will be notified | ||
We take all vulnerability reports seriously, and you will be notified | ||
if your report is accepted or declined, and what further actions we are going | ||
to take on it. |
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
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,12 @@ | ||
# Aegis | ||
|
||
![Aegis](../../assets/aegis-icon.png "Aegis") | ||
|
||
## Aegis Workshop | ||
|
||
This workshop is designed to help you get started with Aegis. It will walk you | ||
through the installation of Aegis and its components, and then demonstrate how | ||
to use Aegis to protect your secrets. | ||
|
||
There is a work-in-progress video recording of this workshop. We’ll update this | ||
document with a link to the video once it’s ready. |
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,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# | ||
# .-'_.---._'-. | ||
# ||####|(__)|| Protect your secrets, protect your business. | ||
# \\()|##// Secure your sensitive data with Aegis. | ||
# \\ |#// <aegis.ist> | ||
# .\_/. | ||
# | ||
|
||
. ./env.sh | ||
|
||
# FIXME: -s argument should not be needed. | ||
kubectl exec "$SENTINEL" -n aegis-system -- aegis \ | ||
-w "aegis-workload-demo" \ | ||
-s "dummy" \ | ||
-d |
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,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
# | ||
# .-'_.---._'-. | ||
# ||####|(__)|| Protect your secrets, protect your business. | ||
# \\()|##// Secure your sensitive data with Aegis. | ||
# \\ |#// <aegis.ist> | ||
# .\_/. | ||
# | ||
|
||
. ./env.sh | ||
|
||
kubectl delete deployment "$DEPLOYMENT" -n default |
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,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
# | ||
# .-'_.---._'-. | ||
# ||####|(__)|| Protect your secrets, protect your business. | ||
# \\()|##// Secure your sensitive data with Aegis. | ||
# \\ |#// <aegis.ist> | ||
# .\_/. | ||
# | ||
|
||
. /home/v0lk4n/Desktop/AEGIS/aegis/examples/aegis-workshop/env.sh | ||
|
||
kubectl exec "$SENTINEL" -n aegis-system -- aegis \ | ||
-s '{"username": "root", "password": "SuperSecret", "value": "AegisRocks"}' \ | ||
-e |
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,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
# | ||
# .-'_.---._'-. | ||
# ||####|(__)|| Protect your secrets, protect your business. | ||
# \\()|##// Secure your sensitive data with Aegis. | ||
# \\ |#// <aegis.ist> | ||
# .\_/. | ||
# | ||
|
||
|
||
export SECRET="ComputeMe!" | ||
|
||
export SENTINEL=$(kubectl get po -n aegis-system \ | ||
| grep "aegis-sentinel-" | awk '{print $1}') | ||
|
||
export SAFE=$(kubectl get po -n aegis-system \ | ||
| grep "aegis-safe-" | awk '{print $1}') | ||
|
||
export WORKLOAD=$(kubectl get po -n default \ | ||
| grep "aegis-workload-demo-" | awk '{print $1}') | ||
|
||
export INSPECTOR=$(kubectl get po -n default \ | ||
| grep "aegis-inspector-" | awk '{print $1}') | ||
|
||
export DEPLOYMENT="aegis-workload-demo" |
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,26 @@ | ||
# | ||
# .-'_.---._'-. | ||
# ||####|(__)|| Protect your secrets, protect your business. | ||
# \\()|##// Secure your sensitive data with Aegis. | ||
# \\ |#// <aegis.ist> | ||
# .\_/. | ||
# | ||
|
||
apiVersion: spire.spiffe.io/v1alpha1 | ||
kind: ClusterSPIFFEID | ||
metadata: | ||
name: aegis-inspector | ||
spec: | ||
# SPIFFE ID `MUST` start with "spiffe://aegis.ist/workload/$workloadName/ns/" | ||
# for `aegis-safe` to recognize the workload and dispatch secrets to it. | ||
spiffeIDTemplate: "spiffe://aegis.ist\ | ||
/workload/aegis-workload-demo\ | ||
/ns/default\ | ||
/sa/aegis-workload-demo\ | ||
/n/{{ .PodMeta.Name }}" | ||
podSelector: | ||
matchLabels: | ||
app.kubernetes.io/name: aegis-inspector | ||
workloadSelectorTemplates: | ||
- "k8s:ns:default" | ||
- "k8s:sa:aegis-inspector" |
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,26 @@ | ||
# | ||
# .-'_.---._'-. | ||
# ||####|(__)|| Protect your secrets, protect your business. | ||
# \\()|##// Secure your sensitive data with Aegis. | ||
# \\ |#// <aegis.ist> | ||
# .\_/. | ||
# | ||
|
||
apiVersion: spire.spiffe.io/v1alpha1 | ||
kind: ClusterSPIFFEID | ||
metadata: | ||
name: aegis-workload-demo | ||
spec: | ||
# SPIFFE ID `MUST` start with "spiffe://aegis.ist/workload/$workloadName/ns/" | ||
# for `aegis-safe` to recognize the workload and dispatch secrets to it. | ||
spiffeIDTemplate: "spiffe://aegis.ist\ | ||
/workload/aegis-workload-demo\ | ||
/ns/{{ .PodMeta.Namespace }}\ | ||
/sa/{{ .PodSpec.ServiceAccountName }}\ | ||
/n/{{ .PodMeta.Name }}" | ||
podSelector: | ||
matchLabels: | ||
app.kubernetes.io/name: aegis-workload-demo | ||
workloadSelectorTemplates: | ||
- "k8s:ns:default" | ||
- "k8s:sa:aegis-workload-demo" |
Oops, something went wrong.