You are on page 1of 1

Checking Whether a Wallet Is Open or Closed You can find out if a wallet is open or closed by running the V$ENCRYPTION_WALLE

T view. To check whether a wallet is open or closed: In SQL*Plus, run the V$ENCRYPTION_VIEW view as follows: SELECT * FROM V$ENCRYPTION_WALLET; The wallet status appears, similar to the following: WRL_TYPE WRL_PARAMETER STATUS -------- ---------------------------------------- ------file C:\oracle\product\11.1.0\db_1\wallets OPEN

desc "CORE_MD"."BUSINESS_VARIABLE" ================================== CONSTANT_NAME VARCHAR2(50) ENCRYPT Step 3: Open (or Close) the Wallet Immediately after you create the wallet key, the wallet is open, and you are rea dy to start encrypting data. However, if you have restarted the database after y ou created the wallet, you must manually open the wallet before you can use tran sparent data encryption. To open the wallet: In SQL*Plus, enter the following ALTER SYSTEM statement, where password is t he password you assigned to the encryption key: ALTER SYSTEM SET ENCRYPTION WALLET OPEN IDENTIFIED BY "password"; In most cases, leave the wallet open unless you have a reason for closing it. Yo u can close the wallet to disable access to the master key and prevent access to the encrypted columns. However, the unencrypted data is still available. The wa llet must be open for transparent data encryption to work. To reopen the wallet, use the ALTER SYSTEM SET WALLET OPEN IDENTIFIED BY password statement. To close the wallet: In SQL*Plus, enter the following statement: ALTER SYSTEM SET ENCRYPTION WALLET CLOSE;

You might also like