We need the SecretAccessKey and AccessKeyId entries. So, the next step is to parse the content of the kops-creds file and store those two values as the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.
In the spirit of full automation, we’ll use jq to parse the contents of the kops-creds file. Please download and install the distribution suited for your OS.
đź“ť A note to Windows users