Add option to rename secrets

This commit is contained in:
Dylan Lundy
2021-04-27 00:28:06 +09:30
parent f30d1f802f
commit f2012545ef
8 changed files with 128 additions and 12 deletions

View File

@@ -42,7 +42,6 @@ extension Preview {
}
class StoreModifiable: Store, SecretStoreModifiable {
override var name: String { "Modifiable Preview Store" }
func create(name: String, requiresAuthentication: Bool) throws {
@@ -50,8 +49,10 @@ extension Preview {
func delete(secret: Preview.Secret) throws {
}
}
func update(secret: Preview.Secret, name: String) throws {
}
}
}
extension Preview {