mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-30 03:34:02 -04:00
Ignore Created and Updated
The Azure response has changed, and is breaking the code's ability to properly deserailize the response.
This commit is contained in:
@@ -27,13 +27,6 @@ type VaultClient struct {
|
||||
type Secret struct {
|
||||
ID *string `json:"id,omitempty"`
|
||||
Value string `json:"value"`
|
||||
Attributes SecretAttributes `json:"attributes"`
|
||||
}
|
||||
|
||||
type SecretAttributes struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
Created *string `json:"created"`
|
||||
Updated *string `json:"updated"`
|
||||
}
|
||||
|
||||
func (client *VaultClient) GetSecret(vaultName, secretName string) (*Secret, error) {
|
||||
|
||||
Reference in New Issue
Block a user