File tree 2 files changed +6
-2
lines changed
scripts/client_certificates
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ per environment.
12
12
- [ kubectl] ( https://kubernetes.io/docs/tasks/tools/#kubectl )
13
13
- [ Access to Cloud Platform’s Kubernetes cluster] ( https://user-guide.cloud-platform.service.justice.gov.uk/documentation/getting-started/kubectl-config.html#installing-kubectl )
14
14
15
+ As a pre-requisite to create a client certificate by running the script below, please ensure that:
16
+ - You are logged in so that you can access AWS resources via the CLI.
17
+ - Verify that you have all your AWS credentials ready by opening the config file in the ".aws" directory.
18
+
15
19
## Create a client certificate
16
20
17
21
1 . Run the [ generate-client-certificate.sh] ( /scripts/client_certificates/generate.sh ) script with the name of the environment and client.
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ upload_backup() {
51
51
aws s3api put-object --bucket " $bucket " --key " $client_folder /" --acl private
52
52
aws s3 cp " $file_path " " s3://$path /client.pem"
53
53
aws s3 cp ./" $environment " -" $client " -client.pem " s3://$path /client.pem"
54
- aws s3 cp ./truststore.key " s3://$path /truststore.key "
55
- aws s3 cp ./truststore.pem " s3://$path /truststore.pem "
54
+ aws s3 cp ./" $environment " - " $client " -client.csr " s3://$path /client.csr "
55
+ aws s3 cp ./" $environment " - " $client " -client.key " s3://$path /client.key "
56
56
57
57
aws configure set aws_access_key_id " "
58
58
aws configure set aws_secret_access_key " "
You can’t perform that action at this time.
0 commit comments