mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-10 00:27:02 +02:00
15 lines
353 B
JavaScript
15 lines
353 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import SecretsEnginePathAdapter from 'vault/adapters/secrets-engine-path';
|
|
|
|
export default class LdapConfigAdapter extends SecretsEnginePathAdapter {
|
|
path = 'config';
|
|
|
|
async rotateRoot(backend) {
|
|
return this.ajax(this._getURL(backend, 'rotate-root'), 'POST');
|
|
}
|
|
}
|