Jonatan Jaworski
05/12/2023, 1:01 AMTimothy Jones
05/12/2023, 1:52 AM/secrets
)
and this is the response:
https://github.com/pactflow/terraform-provider-pact/blob/master/broker/secret.go#L12
You can also see all of the contract that the terraform provider defines here
This isn't as good as documentation, of course, as you don't know what else it might support / whether it promises to support these fields etc.Timothy Jones
05/12/2023, 1:53 AMJonatan Jaworski
05/12/2023, 2:38 AMTimothy Jones
05/12/2023, 2:40 AMJonatan Jaworski
05/12/2023, 2:45 AMPOST
request looks like this:
{
"name" : "mySecret",
"description" : "Secret created via API",
"value" : "Super secret",
"teamUuid" : <team_uuid>
}
Yousaf Nabi (pactflow.io)
Jonatan Jaworski
05/29/2023, 2:48 AM/secrets/Lifqj_IK0GZXMB5BQFshNw
instead of just /secrets
).Timothy Jones
05/29/2023, 3:34 AM