func (awsProvisioner *AwsProvisioner) GetSecret(token string) (*SecretResponse, error) {
	cd := tcclient.Client(*awsProvisioner)
	responseObject, _, err := (&cd).APICall(nil, "GET", "/secret/"+url.QueryEscape(token), new(SecretResponse), nil)
	return responseObject.(*SecretResponse), err
}
func (awsProvisioner *AwsProvisioner) GetSecret(token string) (*SecretResponse, error) {
	cd := tcclient.Client(*awsProvisioner)
	responseObject, _, err := (&cd).APICall(nil, "GET", "/secret/"+url.QueryEscape(token), new(SecretResponse), nil)
	return responseObject.(*SecretResponse), err
}
// Retrieve a secret from storage.  The result contains any passwords or
// other restricted information verbatim as well as a temporary credential
// based on the scopes specified when the secret was created.
//
// It is important that this secret is deleted by the consumer (`removeSecret`),
// or else the secrets will be visible to any process which can access the
// user data associated with the instance.
//
// See https://docs.taskcluster.net/reference/core/aws-provisioner/api-docs#getSecret