DeleteCredentials deletes credentials and versions
(ctx context.Context, secretName string)
| 159 | |
| 160 | // DeleteCredentials deletes credentials and versions |
| 161 | func (m *Manager) DeleteCredentials(ctx context.Context, secretName string) error { |
| 162 | _, err := m.client.DeleteSecret(ctx, secretName, nil) |
| 163 | if err != nil { |
| 164 | return fmt.Errorf("failed to delete secret: %w", err) |
| 165 | } |
| 166 | |
| 167 | return nil |
| 168 | } |
| 169 | |
| 170 | // ValidateWriterClient checks if the client is valid by writing and deleting a secret |
| 171 | // in the provided mount path. |
nothing calls this directly
no test coverage detected