|WP_Error */ public function list_secrets( string $name_prefix = '', bool $network = false ); /** * A short human-readable name for this provider, for Site Health. * * Describes the protection, not the vendor's marketing: "AWS KMS * (alias/wp-secrets)" tells an operator something, "SuperSecure Pro" does not. * Never key material, never a credential, never a value. * * @since 7.2.0 * * @return string */ public function get_label(): string; /** * Where secrets this provider holds are actually protected. * * One of the BOUNDARY_* constants. This is what lets Site Health and a future * admin screen tell an operator whether their credentials are protected by * WordPress's own libsodium envelope or by something outside it, a question * they currently have no way to answer, and the one hosts asked to be able to * answer honestly. * * @since 7.2.0 * * @return string * * @phpstan-return self::BOUNDARY_* */ public function get_protection_boundary(): string; /** * Whether wp_set_secret() can succeed against this provider. * * False for a provider whose credentials are managed by host tooling or a * control panel. Declared rather than discovered so a settings screen can * disable its save control before an operator types a credential into a field * that will only reject it. * * @since 7.2.0 * * @return bool */ public function is_writable(): bool; }