func (awsProvisioner *AwsProvisioner) CreateSecret(token string, payload *SecretRequest) error {
	cd := tcclient.Client(*awsProvisioner)
	_, _, err := (&cd).APICall(payload, "PUT", "/secret/"+url.QueryEscape(token), nil, nil)
	return err
}
func (awsProvisioner *AwsProvisioner) CreateSecret(token string, payload *SecretRequest) error {
	cd := tcclient.Client(*awsProvisioner)
	_, _, err := (&cd).APICall(payload, "PUT", "/secret/"+url.QueryEscape(token), nil, nil)
	return err
}
// Insert a secret into the secret storage.  The supplied secrets will
// be provided verbatime via `getSecret`, while the supplied scopes will
// be converted into credentials by `getSecret`.
//
// This method is not ordinarily used in production; instead, the provisioner
// creates a new secret directly for each spot bid.
//
// Required scopes:
//   aws-provisioner:create-secret:<workerType>
//
// See https://docs.taskcluster.net/reference/core/aws-provisioner/api-docs#createSecret