Skip to content

Commit

Permalink
Merge pull request #296 from mohamuni/StorageDriveSecurityPolicyTest
Browse files Browse the repository at this point in the history
adding test case for storage drive security policy
  • Loading branch information
the-akhil-nair authored Oct 14, 2024
2 parents 31ffd8f + 34e1818 commit d95d353
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/common/storage_drive_security_policy.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
resource "intersight_storage_drive_security_policy" "storage_drive_security_policy1" {
key_setting {
key_type = "Kmip"
object_type = "storage.KeySetting"
remote_key {
auth_credentials {
password = "password"
use_authentication = true
username = "kmip_user"
}
existing_key = "existing key"
object_type = "storage.RemoteKeySetting"
primary_server {
enable_drive_security = true
ip_address = "kmip-primary.example.com"
object_type = "storage.KmipServer"
port = 5696
timeout = 60
}
server_certificate = var.pem_certificate
}
}
name = "test_remote_key"
object_type = "storage.DriveSecurityPolicy"
organization {
moid = data.intersight_organization_organization.default.results.0.moid
}
}

0 comments on commit d95d353

Please sign in to comment.