Skip to content

Commit 213171a

Browse files
azure AD
1 parent 914833f commit 213171a

File tree

4 files changed

+50
-13
lines changed

4 files changed

+50
-13
lines changed

.vscode/targets.log

+12-9
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ make all --print-data-base --no-builtin-variables --no-builtin-rules --question
1010
make: *** No rule to make target `all'. Stop.
1111

1212

13-
# Make data base, printed on Fri Feb 17 13:04:53 2023
13+
# Make data base, printed on Mon Mar 13 12:27:22 2023
1414

1515
# Variables
1616

@@ -37,15 +37,14 @@ sonobuoy = /Users/michael/sonobuoyapp/sonobuoy
3737
# makefile
3838
MAKEFILE_LIST :=
3939
# environment
40-
EDGE_BROWSER_PID = 69906
41-
# environment
4240
VSCODE_AMD_ENTRYPOINT = vs/workbench/api/node/extensionHostProcess
4341
# environment
4442
__CFBundleIdentifier = com.microsoft.VSCode
4543
# environment
4644
INFOPATH = /opt/homebrew/share/info:
4745
# environment
4846
VSCODE_CWD = /
47+
4948
# environment
5049
GOPROXY = https://proxy.golang.org,direct
5150
# environment
@@ -55,11 +54,13 @@ LSCOLORS = Gxfxcxdxbxegedabagacad
5554
# environment
5655
GOPATH = /Users/michael/go
5756
# environment
57+
LaunchInstanceID = 51F6885E-7984-4129-BF5B-B05B2B6821A8
58+
# environment
5859
ELECTRON_RUN_AS_NODE = 1
5960
# default
6061
.FEATURES := target-specific order-only second-expansion else-if archives jobserver check-symlink
6162
# environment
62-
SSH_AUTH_SOCK = /private/tmp/com.apple.launchd.kalBRb5088/Listeners
63+
SSH_AUTH_SOCK = /private/tmp/com.apple.launchd.qMyJmtarWo/Listeners
6364
# automatic
6465
%F = $(notdir $%)
6566
# environment
@@ -146,6 +147,8 @@ MAKEFILES :=
146147
PAGER = less
147148
# environment
148149
LC_ALL = C
150+
# environment
151+
SECURITYSESSIONID = 186b2
149152
# automatic
150153
^F = $(notdir $^)
151154
# default
@@ -157,19 +160,19 @@ MAKELEVEL := 0
157160
# environment
158161
LANG = C
159162
# environment
160-
VSCODE_PID = 274
163+
VSCODE_PID = 651
161164
# variable set hash-table stats:
162-
# Load=72/1024=7%, Rehash=0, Collisions=2/93=2%
165+
# Load=73/1024=7%, Rehash=0, Collisions=2/94=2%
163166

164167
# Pattern-specific Variable Values
165168

166169
# No pattern-specific variable values.
167170

168171
# Directories
169172

170-
# . (device 16777234, inode 14779675): 56 files, no impossibilities.
173+
# . (device 16777230, inode 14779675): 57 files, no impossibilities.
171174

172-
# 56 files, no impossibilities in 1 directories.
175+
# 57 files, no impossibilities in 1 directories.
173176

174177
# Implicit Rules
175178

@@ -241,6 +244,6 @@ GNUmakefile:
241244
# strcache size: total = 0 / max = 0 / min = 4096 / avg = 0
242245
# strcache free: total = 0 / max = 0 / min = 4096 / avg = 0
243246

244-
# Finished Make data base on Fri Feb 17 13:04:53 2023
247+
# Finished Make data base on Mon Mar 13 12:27:22 2023
245248

246249

AWS_Storage/databases/readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ docker container inspect mysql
1111
```
1212

1313
```
14-
docker run --name mysqlcontainer -p 3306:3306 -e MYSQL_ROOT_USER=root -e MYSQL_ROOT_PASSWORD=Password12 -e MYSQL_DATABASE=testdatabase -e MYSQL_HOST=testdatabase.csx4hqzfwtj2.us-east-1.rds.amazonaws.com mysql:latest
14+
docker run --name mysqlcontainer -p 3306:3306 -e MYSQL_ROOT_USER=root -e MYSQL_ROOT_PASSWORD=Password1 -e MYSQL_DATABASE=awsfest0101 -e MYSQL_HOST=awsfest0101.csx4hqzfwtj2.us-east-1.rds.amazonaws.com mysql:latest
1515
```
1616

1717
```
@@ -25,8 +25,8 @@ services:
2525
restart: always
2626
container_name: mysql_container
2727
environment:
28-
- MYSQL_ROOT_PASSWORD=Password12
29-
- MYSQL_DATABASE=testdatabase
28+
- MYSQL_ROOT_PASSWORD=Password1
29+
- MYSQL_DATABASE=awsfest1010
3030
- MYSQL_ROOT_USER=root
31-
- MYSQL_HOST=testdatabase.csx4hqzfwtj2.us-east-1.rds.amazonaws.com
31+
- MYSQL_HOST=awsfest0101.csx4hqzfwtj2.us-east-1.rds.amazonaws.com
3232
```

Azure_AD/instructions.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
```
2+
az ad user create --display-name pearsonuser --password 'Password12!@' --user-principal-name [email protected]
3+
```
4+
5+
```
6+
az role definition list \
7+
--query "[?contains(roleName, 'Azure Kubernetes Service RBAC')].{roleName:roleName,description:description}"
8+
```
9+
10+
```
11+
az role assignment create \
12+
--assignee "[email protected]" \
13+
--role "Azure Kubernetes Service RBAC Reader" \
14+
--scope $(az aks show \
15+
--resource-group devrelasaservice \
16+
--name aksenvironment01 \
17+
--query id -o tsv)
18+
```

secrets/vault/install.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
```
2+
helm repo add hashicorp https://helm.releases.hashicorp.com
3+
```
4+
5+
```
6+
helm install vault hashicorp/vault --set='ui.enabled=true' --set='ui.serviceType=LoadBalancer' --namespace vault --create-namespace
7+
```
8+
9+
```
10+
kubectl exec --stdin=true --tty=true vault-0 -n vault -- vault operator init
11+
```
12+
13+
Run the below three times with three unseal keys.
14+
```
15+
kubectl exec --stdin=true --tty=true vault-0 -n vault -- vault operator unseal
16+
```

0 commit comments

Comments
 (0)