@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
25 lines • 755 B
TypeScript
import { IpBlock } from '../IpBlock';
import { AccessRule } from '../auth/AccessRule';
import { CredentialStateEnum } from '../auth/CredentialStateEnum';
/** API Credential */
export interface Credential {
/** If defined, list of ip blocks which are allowed to call API with this credential */
allowedIPs?: IpBlock[];
/** */
applicationId: number;
/** */
creation: string;
/** */
credentialId: number;
/** */
expiration?: string;
/** */
lastUse?: string;
/** States whether this credential has been created by yourself or by the OVH support team */
ovhSupport: boolean;
/** */
rules: AccessRule[];
/** */
status: CredentialStateEnum;
}
//# sourceMappingURL=Credential.d.ts.map