Open alexsegura opened 11 months ago
This method/API endpoint is deprecated.
GetSecretByName usage is now deprecated. Scaleway recommends that you use the ListSecrets request with the name filter.
ListSecrets
name
I guess it would mean changing:
secret = api.get_secret_by_name(secret_name=name, region=region)
To:
secret = api.list_secrets(name=name, region=region)
Also, the scaleway_secret_version module should support the path argument, so that we can retrieve a secret with the same name, and a different path.
scaleway_secret_version
path
This method/API endpoint is deprecated.
I guess it would mean changing:
To:
Also, the
scaleway_secret_version
module should support thepath
argument, so that we can retrieve a secret with the same name, and a different path.