I am using CMB in my development environment and want to be able to spin up CMB and then have my application interact with it via the AWS Java SDK. To do this, I need the access key and secret for the user. Is there an easy way to access the key and secret that are automatically created when CMB starts so that I don't have to manually log into CMB to retrieve it?
I am spinning up CMB in a docker container and not persisting any state, so if I rebuild my docker container I want to be able to get the new key and secret automatically. I'm open to any way of grabbing these keys through a script or anything as long as it isn't a manual process.
Thanks,
Pete