Secret keys are private, random tokens that serves as a username to grant access to a Spaces bucket.
While they allow people or programs to connect to Spaces with third-party clients and the API, they do not provide access to the control panel or other DigitalOcean resources.
You can pair a secret key with an access key which is a random token that serves as a password to grant access to a bucket.
To use the Spaces API, you need to create an access key and secret key for your bucket from the API page in the control panel.