open-vault/ui/app/adapters/ssh-otp-credential.js

13 lines
222 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import SSHAdapter from './ssh';
export default SSHAdapter.extend({
url(role) {
return `/v1/${role.backend}/creds/${role.name}`;
},
});