Skip to content

Commit

Permalink
internal training pems fix meatloaf
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Mar 1, 2024
1 parent d2d69d5 commit 1d6cfea
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
File renamed without changes.
76 changes: 38 additions & 38 deletions nothingtoseehere/scripts/automate-acl.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/roles' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "mealkit-owner",
"name": "Mealkit Owner",
Expand All @@ -20,7 +20,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/
}'
curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/users' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "tandori",
"name": "Tandori",
Expand All @@ -29,7 +29,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/users' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "pizza",
"name": "Pizza",
Expand All @@ -38,7 +38,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/users' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "potpie",
"name": "Potpie",
Expand All @@ -47,7 +47,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/users' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "meatloaf",
"name": "Meatloaf",
Expand All @@ -56,7 +56,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/users' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "quesadilla",
"name": "Quesadilla",
Expand All @@ -65,7 +65,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/users' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "chili",
"name": "Chili",
Expand All @@ -74,7 +74,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/users' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "casserole",
"name": "Casserole",
Expand All @@ -83,7 +83,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/users' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "sloppyjoe",
"name": "Sloppy Joe",
Expand All @@ -92,7 +92,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/users' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "potroast",
"name": "Pot Roast",
Expand All @@ -101,7 +101,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "tandori",
"name": "Tandori Project",
Expand All @@ -110,7 +110,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "pizza",
"name": "pizza Project",
Expand All @@ -119,7 +119,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "potpie",
"name": "Potpie Project",
Expand All @@ -128,7 +128,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "meatloaf",
"name": "Meatloaf Project",
Expand All @@ -137,7 +137,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "quesadilla",
"name": "Quesadilla Project",
Expand All @@ -146,7 +146,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "chili",
"name": "Chili Project",
Expand All @@ -155,7 +155,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "casserole",
"name": "Casserole Project",
Expand All @@ -164,7 +164,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "sloppyjoe",
"name": "Sloppy Joe Project",
Expand All @@ -173,7 +173,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"id": "potroast",
"name": "Potroast Project",
Expand All @@ -182,7 +182,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects' \

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/tandori/rules' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"conditions": [
{
Expand All @@ -200,7 +200,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/tandor

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/pizza/rules' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"conditions": [
{
Expand All @@ -218,7 +218,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/pizza/

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/potpie/rules' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"conditions": [
{
Expand All @@ -236,7 +236,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/potpie

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/meatloaf/rules' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"conditions": [
{
Expand All @@ -254,7 +254,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/meatlo

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/quesadilla/rules' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"conditions": [
{
Expand All @@ -272,7 +272,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/quesad

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/chili/rules' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"conditions": [
{
Expand All @@ -290,7 +290,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/chili/

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/casserole/rules' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"conditions": [
{
Expand All @@ -308,7 +308,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/casser

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/sloppyjoe/rules' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"conditions": [
{
Expand All @@ -326,7 +326,7 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/sloppy

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/potroast/rules' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"conditions": [
{
Expand All @@ -344,13 +344,13 @@ curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/projects/potroa

curl --location 'https://mealkit.azure.chef-demo.com/apis/iam/v2/apply-rules' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
}'

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/policies' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"name": "Tandori Project Owners",
"id": "tandori-project-owners",
Expand All @@ -374,7 +374,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/policies' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"name": "pizza Project Owners",
"id": "pizza-project-owners",
Expand All @@ -398,7 +398,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/policies' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"name": "potpie Project Owners",
"id": "potpie-project-owners",
Expand All @@ -422,7 +422,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/policies' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"name": "meatloaf Project Owners",
"id": "meatloaf-project-owners",
Expand All @@ -446,7 +446,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/policies' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"name": "quesadilla Project Owners",
"id": "quesadilla-project-owners",
Expand All @@ -470,7 +470,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/policies' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"name": "chili Project Owners",
"id": "chili-project-owners",
Expand All @@ -494,7 +494,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/policies' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"name": "casserole Project Owners",
"id": "casserole-project-owners",
Expand All @@ -518,7 +518,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/policies' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"name": "sloppyjoe Project Owners",
"id": "sloppyjoe-project-owners",
Expand All @@ -542,7 +542,7 @@ curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/

curl --location --request POST 'https://mealkit.azure.chef-demo.com/apis/iam/v2/policies' \
--header 'Content-Type: application/json' \
--header 'api-token: eHss7Yf-nby8n65HnVBqNvTxgoQ=' \
--header 'api-token: 5KCZeGdLVI6AMk2a7TuHD7cNQA4=' \
--data '{
"name": "potroast Project Owners",
"id": "potroast-project-owners",
Expand Down

0 comments on commit 1d6cfea

Please sign in to comment.