For a FIPS review of a ServiceNow cryptographic module, start with the module’s purpose, algorithm, key source, and access policies. Create the module through Key Management, set up its specification and key, then test the operations that should work and the ones that should fail. Keep evidence of the cryptographic boundary and operating conditions with the configuration record before you approve production use.
Define the cryptographic module and review boundary
A cryptographic module in Key Management Framework (KMF) defines the mechanisms used for one cryptographic use case. It has four parts: a cryptographic specification, cryptographic keys, module access policies, and module policy exceptions. The specification names the algorithm and key source. Access policies control whether data can be encrypted or decrypted.
KMF protects cryptographic keys with a FIPS 140-2-L3 hardware Root of Trust, Public Key Infrastructure, key hierarchy, and envelope encryption. Use that architecture as background for the review. Then judge the specific module and its planned operations against your acceptance criteria.
Before you set up anything, write down the data being protected, the application scope, the operations needed, and the people in charge of key administration. For a FIPS need, ask your security reviewer to name the validation evidence, cryptographic boundary, and approved operating conditions that apply. Record those acceptance criteria apart from the module’s configuration checklist.
Use the Brazil configuration steps below, and check labels and available features against your instance and release. For the wider relationship between keys, specifications, and policies, see ServiceNow Key Management Framework. Tie the module review to your wider instance security and access control plan.
Create the base KMF module with deliberate defaults
To create a base KMF cryptographic module, you need sn_kmf.cryptographic_manager. You cannot delete Cryptographic Module records in sys_kmf_crypto_module. So settle the purpose and the name before you submit a test record. If you plan to supply your own keys, finish the customer-supplied key preparation for that route.
- Go to All > Key Management > Cryptographic Modules > Create New.
- Enter an alphanumeric Module name that works in script references. A good habit is to name the module for its use, not for the person who made it.
- Select Default in Crypto spec template. This template contains mappings of supported algorithms for cryptographic specifications.
- Look at the Default module access policy value. The values you can pick are Rely on system default, Reject, and Track.
- Check the Actual module access policy result. It shows the reject or track behavior that results from the default or from the module access policy you chose.
- Look at Crypto module life-cycle state, then select Submit.
The life-cycle field supports Draft during setup and Published for use. The Default template is set to Published on its own. So check the state you get. Do not assume a new record stays in Draft. After you submit, find the record in Cryptographic Modules and check the saved Name.
The saved name includes the application scope prefix. A module named payroll_crypto in global scope would be called global.payroll_crypto. Write the saved value in the implementation notes so later script tests use the real module identifier.
Complete the specification, key, and application route
After you create the base module, create its cryptographic specification to set the algorithm. Then finish the key setup that fits. The module record, the algorithm, and the key are separate review items. KMF supports instance-generated keys and customer-supplied keys. Find out which path the application requires before you plan the test.
For Field Encryption, use its own creation route. The role needed is security_admin and sn_kmf.cryptographic_manager, or sn_kmf.admin. Go to All > System Security > Field Encryption Experience > Create new module, enter the module name, select the algorithm, select Create, and click Submit.
The new module shows in the Field Encryption modules overview. A default cryptographic specification is made with the purpose Symmetric Data Encryption/Decryption and algorithm AES 256 CBC. Open the module to see its options and pick the algorithm for updates. Capture the specification you end up with. Do not rely on the selection made earlier in the creation flow.
Prepare an acceptance record with the saved module name, application scope, purpose, specification, key source, and expected callers. For help with this work, see ServiceNow implementation.
Before you hand the module to an application owner, compare the configured purpose with the requested operation. Ask the owner to approve a small test case and its expected output.
Set life-cycle policy boundaries before operational use
To create a cryptographic module life-cycle policy, you need sn_kmf.cryptographic_manager. Instance policies set boundaries. Instance life-cycle templates give reusable defaults. Life-cycle rules act on the keys directly. A rule cannot push an expiration date past the boundary imposed by its instance policy.
- Go to All > Key Management > Lifecycle Policies > Instance Policies.
- Select New and look at the read-only Applies to field.
- Select Active when the policy should be turned on.
- Define Policy condition for the activation, renewal, deactivation, and destruction conditions you want.
- Choose Result with care: Reject revokes module access, while Track allows access and monitors module use.
For the review, compare the planned retention and renewal schedule with the instance boundary and the rules that apply to the module. Write down which result you expect when a condition is met. Test that expectation before you treat a monitoring result as evidence that an operation was blocked.
Name who approves policy changes, who checks the affected callers, and who records the outcome.
Use external key wrapping when the design requires it
An externally wrapped module makes encryption keys that are protected by an AWS KMS key, on top of ServiceNow’s own key management. ServiceNow cannot decrypt that data without access to the outside AWS key. Add that dependency to the application’s availability review and test plan.
To create this module you need admin, security_admin, and sn_kmf.cryptographic_manager. Go to All > System Security > Field Encryption Modules, select New, and enter Name. Select External wrap key, choose the External KMS Configuration, and select Submit. Check that external wrapping is selected before you accept the record.
Next, create encrypted field configurations to name the tables and columns to encrypt. Then set module access policies that control who can view the encrypted data. Treat module creation, field selection, and access-policy verification as separate acceptance checks. Record the external configuration you chose and the expected response when its key is not available, then test in an agreed environment.
Test script access and investigate rejected requests
A script request needs a cryptographic purpose set in the module, an active generated key, and a Module Access Policy type set to script. Check all three together. A purpose listed in the module does not replace the need for an active key that supports the request.
Where Check script version is selected, the system compares the script version at run time. Access is tied to the assigned version, and a change sends a notice. Put a script-change case in the acceptance plan so you think about the expected version check before you change access rules.
To view declined requests, you need sn_kmf.cryptographic_manager. Go to All > Key Management > Module Key Policies > Module Key Rejections. Look at the rejected module and the encryption key linked to the script. A purpose that is not supported can block access to encrypted data. Missing generated keys also need a look.
If another script uses the same module with the same key type, Last enforced updates and no new row is made. Compare that value with the test window before you decide that no new rejection happened. For a wider set of steps, use the instance security troubleshooting guide.
Hand over the module with a reviewable record
The FIPS acceptance record states what was relied on
Ask the security reviewer to record the validation evidence being relied on, its scope, the operating conditions that matter, and the configuration tested. Add a clear approval decision and any open conditions. This is a suggested review record. Pick its contents to match the organization’s actual assurance requirement.
Choose a secret group type based on where decryption occurs
Choose an instance-accessible module when ServiceNow needs to decrypt the secret. A client-accessible module uses a customer-supplied key that ServiceNow cannot reach, so the instance cannot decrypt that value. This is a decryption boundary, not just a naming choice. Before you submit the secret group form, decide which system needs to decrypt the value and select the matching module type. For example, use the client-accessible path when only an external client should hold the key. Use the instance-accessible path when the instance must read the secret.
The selected module type determines the parent crypto module
Parent crypto module is read-only and follows the cryptographic module type you pick. Application shows the application scope, and Name is built from the application and module name. For the handover, record both the chosen type and the resulting parent so another admin can see how they relate.