import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)inference_secret = client.cloud.inference.secrets.replace( secret_name="aws-dev", project_id=1, data={ "aws_access_key_id": "fake-key-id", "aws_secret_access_key": "fake-secret", }, type="aws-iam",)print(inference_secret.data)
import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)inference_secret = client.cloud.inference.secrets.replace( secret_name="aws-dev", project_id=1, data={ "aws_access_key_id": "fake-key-id", "aws_secret_access_key": "fake-secret", }, type="aws-iam",)print(inference_secret.data)